ELinks 0.18.0
|
An ELinks-specific replacement for JSFunctionSpec. More...
#include <spidermonkey-shared.h>
Data Fields | |
const char * | name |
JSNative | call |
uint8_t | nargs |
An ELinks-specific replacement for JSFunctionSpec.
Bug 1016: In SpiderMonkey 1.7 bundled with XULRunner 1.8, jsapi.h defines JSFunctionSpec in different ways depending on whether MOZILLA_1_8_BRANCH is defined, and there is no obvious way for ELinks to check whether MOZILLA_1_8_BRANCH was defined when the library was built. Avoid the unstable JSFunctionSpec definitions and use this ELinks-specific structure instead.
JSNative spidermonkeyFunctionSpec::call |
const char* spidermonkeyFunctionSpec::name |
uint8_t spidermonkeyFunctionSpec::nargs |