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

Go to the source code of this file.

Classes

class  OOJSTimer
 

Functions

void InitOOJSTimer (JSContext *context, JSObject *global)
 

Function Documentation

◆ InitOOJSTimer()

void InitOOJSTimer ( JSContext * context,
JSObject * global )

Definition at line 254 of file OOJSTimer.m.

255{
256 sTimerPrototype = JS_InitClass(context, global, NULL, &sTimerClass, TimerConstruct, 0, sTimerProperties, sTimerMethods, NULL, NULL);
258}
static JSObject * sTimerPrototype
Definition OOJSTimer.m:35
static JSPropertySpec sTimerProperties[]
Definition OOJSTimer.m:231
static JSClass sTimerClass
Definition OOJSTimer.m:36
static JSBool TimerConstruct(JSContext *context, uintN argc, jsval *vp)
Definition OOJSTimer.m:358
static JSFunctionSpec sTimerMethods[]
Definition OOJSTimer.m:241
void OOJSRegisterObjectConverter(JSClass *theClass, OOJSClassConverterCallback converter)
id OOJSBasicPrivateObjectConverter(JSContext *context, JSObject *object)

References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), sTimerClass, sTimerMethods, sTimerProperties, sTimerPrototype, and TimerConstruct().

+ Here is the call graph for this function: