Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
Functions
OOJSWorldScripts.h File Reference
import <Foundation/Foundation.h>
#include <jsapi.h>
+ Include dependency graph for OOJSWorldScripts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void InitOOJSWorldScripts (JSContext *context, JSObject *global)
 

Function Documentation

◆ InitOOJSWorldScripts()

void InitOOJSWorldScripts ( JSContext * context,
JSObject * global )

Definition at line 52 of file OOJSWorldScripts.m.

53{
54 JS_DefineObject(context, global, "worldScripts", &sWorldScriptsClass, NULL, OOJS_PROP_READONLY);
55}
static JSClass sWorldScriptsClass
#define OOJS_PROP_READONLY

References OOJS_PROP_READONLY, and sWorldScriptsClass.