mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-30 03:26:23 -04:00
871a1befad
The previous code cast the integer (long actually) to void * and gave that to JS_SetPrivate. This did not work because JS_SetPrivate expects pointers to be aligned and replaces the least significant bit with a tag. By using JS_SetReservedSlot instead, we get control of the jsval conversions and can store the integer properly. |
||
---|---|---|
.. | ||
see | ||
spidermonkey | ||
ecmascript.c | ||
ecmascript.h | ||
Makefile | ||
see.c | ||
see.h | ||
spidermonkey.c | ||
spidermonkey.h |