ELinks 0.18.0
spidermonkeyFunctionSpec Struct Reference

An ELinks-specific replacement for JSFunctionSpec. More...

#include <spidermonkey-shared.h>

Data Fields

const char * name
 
JSNative call
 
uint8_t nargs
 

Detailed Description

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.

Field Documentation

◆ call

JSNative spidermonkeyFunctionSpec::call

◆ name

const char* spidermonkeyFunctionSpec::name

◆ nargs

uint8_t spidermonkeyFunctionSpec::nargs

The documentation for this struct was generated from the following file: