Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOJSMissionVariables.h File Reference
import <Foundation/Foundation.h>
#include <jsapi.h>
+ Include dependency graph for OOJSMissionVariables.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void InitOOJSMissionVariables (JSContext *context, JSObject *global)
 

Function Documentation

◆ InitOOJSMissionVariables()

void InitOOJSMissionVariables ( JSContext * context,
JSObject * global )

Definition at line 71 of file OOJSMissionVariables.m.

72{
73 JS_DefineObject(context, global, "missionVariables", &sMissionVariablesClass, NULL, OOJS_PROP_READONLY);
74
75#ifndef NDEBUG
76 // Allow callObjC() on missionVariables to call methods on the mission variables dictionary.
78#endif
79}
static id MissionVariablesConverter(JSContext *context, JSObject *object)
static JSClass sMissionVariablesClass
void OOJSRegisterObjectConverter(JSClass *theClass, OOJSClassConverterCallback converter)
#define OOJS_PROP_READONLY

References MissionVariablesConverter(), OOJS_PROP_READONLY, OOJSRegisterObjectConverter(), and sMissionVariablesClass.

+ Here is the call graph for this function: