mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-01 12:03:08 +00:00
Bug 702523 Use JS_PUBLIC_API instead of extern for js_FloorLog2wImpl r=luke
This commit is contained in:
parent
74caa30be5
commit
a5469033c9
@ -346,14 +346,14 @@ __BitScanReverse64(unsigned __int64 val)
|
||||
# define js_FloorLog2wImpl(n) \
|
||||
((size_t)(JS_BITS_PER_WORD - 1 - js_bitscan_clz32(n)))
|
||||
# else
|
||||
extern size_t js_FloorLog2wImpl(size_t n);
|
||||
JS_PUBLIC_API(size_t) js_FloorLog2wImpl(size_t n);
|
||||
# endif
|
||||
#elif JS_BYTES_PER_WORD == 8
|
||||
# ifdef JS_HAS_BUILTIN_BITSCAN64
|
||||
# define js_FloorLog2wImpl(n) \
|
||||
((size_t)(JS_BITS_PER_WORD - 1 - js_bitscan_clz64(n)))
|
||||
# else
|
||||
extern size_t js_FloorLog2wImpl(size_t n);
|
||||
JS_PUBLIC_API(size_t) js_FloorLog2wImpl(size_t n);
|
||||
# endif
|
||||
#else
|
||||
# error "NOT SUPPORTED"
|
||||
|
Loading…
x
Reference in New Issue
Block a user