Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOJSScript.h File Reference
import "OOScript.h"
import "OOJavaScriptEngine.h"
+ Include dependency graph for OOJSScript.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OOJSScript
 
category  OOScript(JavaScriptEvents)
 

Functions

void InitOOJSScript (JSContext *context, JSObject *global)
 

Variables

static NSString *const kLocalManifestProperty = @"@"oolite_manifest_identifier"
 

Function Documentation

◆ InitOOJSScript()

void InitOOJSScript ( JSContext * context,
JSObject * global )

Definition at line 663 of file OOJSScript.m.

664{
665 sScriptPrototype = JS_InitClass(context, global, NULL, &sScriptClass, OOJSUnconstructableConstruct, 0, NULL, sScriptMethods, NULL, NULL);
667}
static JSObject * sScriptPrototype
Definition OOJSScript.m:59
static JSFunctionSpec sScriptMethods[]
Definition OOJSScript.m:94
static JSClass sScriptClass
Definition OOJSScript.m:78
void OOJSRegisterObjectConverter(JSClass *theClass, OOJSClassConverterCallback converter)
JSBool OOJSUnconstructableConstruct(JSContext *context, uintN argc, jsval *vp)
id OOJSBasicPrivateObjectConverter(JSContext *context, JSObject *object)

References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sScriptClass, sScriptMethods, and sScriptPrototype.

+ Here is the call graph for this function:

Variable Documentation

◆ kLocalManifestProperty

NSString* const kLocalManifestProperty = @"@"oolite_manifest_identifier"
static

Definition at line 29 of file OOJSScript.h.