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

Go to the source code of this file.

Functions

void InitOOJSDock (JSContext *context, JSObject *global)
 

Function Documentation

◆ InitOOJSDock()

void InitOOJSDock ( JSContext * context,
JSObject * global )

Definition at line 94 of file OOJSDock.m.

95{
96 sDockPrototype = JS_InitClass(context, global, JSShipPrototype(), &sDockClass, OOJSUnconstructableConstruct, 0, sDockProperties, sDockMethods, NULL, NULL);
99}
static JSClass sDockClass
Definition OOJSDock.m:46
static JSPropertySpec sDockProperties[]
Definition OOJSDock.m:74
static JSObject * sDockPrototype
Definition OOJSDock.m:34
static JSFunctionSpec sDockMethods[]
Definition OOJSDock.m:86
JSObject * JSShipPrototype(void)
Definition OOJSShip.m:601
JSClass * JSShipClass(void)
Definition OOJSShip.m:595
void OOJSRegisterObjectConverter(JSClass *theClass, OOJSClassConverterCallback converter)
JSBool OOJSUnconstructableConstruct(JSContext *context, uintN argc, jsval *vp)
void OOJSRegisterSubclass(JSClass *subclass, JSClass *superclass)
id OOJSBasicPrivateObjectConverter(JSContext *context, JSObject *object)

References JSShipClass(), JSShipPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sDockClass, sDockMethods, sDockProperties, and sDockPrototype.

+ Here is the call graph for this function: