On Wed, 04 Jul 2012 01:38:49 +0200, Ole wrote:
> #define JSAPI_FS(name, nargs, flags) \
> - JS_FS(#name, jsapi_native_##name, nargs, flags, 0)
> + JS_FS(#name, jsapi_native_##name, nargs, flags)
>
> That should probably extended into something like that:
>
> #ifdef JS_VERSION <= 150
> JS_FS(#name, jsapi_native_##name, nargs, flags, 0)
> #else
> JS_FS(#name, jsapi_native_##name, nargs, flags)
>
> ( it looks like that 1.5 uses the same number of initial values
> as versions > 1.8.0 )
Actually that's one of the macros that doesn't exist. I copied it
from my 1.8.5 includes, so that'll be why!
Chris
No comments:
Post a Comment