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

Go to the source code of this file.

Functions

void InitOOJSSun (JSContext *context, JSObject *global)
 

Function Documentation

◆ InitOOJSSun()

void InitOOJSSun ( JSContext * context,
JSObject * global )

Definition at line 91 of file OOJSSun.m.

92{
93 sSunPrototype = JS_InitClass(context, global, JSEntityPrototype(), &sSunClass, OOJSUnconstructableConstruct, 0, sSunProperties, sSunMethods, NULL, NULL);
96}
OOINLINE JSClass * JSEntityClass(void)
Definition OOJSEntity.h:42
OOINLINE JSObject * JSEntityPrototype(void)
Definition OOJSEntity.h:43
static JSClass sSunClass
Definition OOJSSun.m:41
static JSObject * sSunPrototype
Definition OOJSSun.m:33
static JSFunctionSpec sSunMethods[]
Definition OOJSSun.m:79
static JSPropertySpec sSunProperties[]
Definition OOJSSun.m:68
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 JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sSunClass, sSunMethods, sSunProperties, and sSunPrototype.

+ Here is the call graph for this function: