#include <OOJSPopulatorDefinition.h>
Definition at line 30 of file OOJSPopulatorDefinition.h.
◆ callback
◆ callbackThis
- (JSObject *) callbackThis |
|
|
|
◆ dealloc
◆ deleteJSPointers
- (void) deleteJSPointers |
|
|
|
|
implementation |
Definition at line 1 of file OOJSPopulatorDefinition.m.
49{
50
56
58
59 [[NSNotificationCenter defaultCenter] removeObserver:self
60 name:kOOJavaScriptEngineWillResetNotification
62
63}
OOINLINE JSContext * OOJSAcquireContext(void)
OOINLINE void OOJSRelinquishContext(JSContext *context)
OOJavaScriptEngine * sharedEngine()
◆ init
Definition at line 1 of file OOJSPopulatorDefinition.m.
33 {
34 self = [super init];
37
39
40 [[NSNotificationCenter defaultCenter] addObserver:self
41 selector:@selector(deleteJSPointers)
42 name:kOOJavaScriptEngineWillResetNotification
44
45 return self;
46}
OOJSScript * _owningScript
OOJSScript * currentlyRunningScript()
◆ runCallback:
- (void) runCallback: |
|
(HPVector) | location |
|
Definition at line 1 of file OOJSPopulatorDefinition.m.
106 :(HPVector)location
107{
110 jsval loc, rval = JSVAL_VOID;
111
113
116
122
124 [owner release];
125
127}
BOOL VectorToJSValue(JSContext *context, Vector vector, jsval *outValue) NONNULL_FUNC
void pushScript:(OOJSScript *script)
void popScript:(OOJSScript *script)
BOOL callJSFunction:forObject:argc:argv:result:(jsval function,[forObject] JSObject *jsThis,[argc] uintN argc,[argv] jsval *argv,[result] jsval *outResult)
◆ setCallback:
- (void) setCallback: |
|
(jsval) | callback |
|
◆ setCallbackThis:
- (void) setCallbackThis: |
|
(JSObject *) | callbackthis |
|
Definition at line 1 of file OOJSPopulatorDefinition.m.
97{
103}
#define OOJSAddGCObjectRoot(context, root, name)
JSObject * callbackThis()
◆ _callback
◆ _callbackThis
- (JSObject*) _callbackThis |
|
private |
◆ _owningScript
The documentation for this class was generated from the following files: