40 [[NSNotificationCenter defaultCenter] addObserver:self
41 selector:@selector(deleteJSPointers)
42 name:kOOJavaScriptEngineWillResetNotification
59 [[NSNotificationCenter defaultCenter] removeObserver:self
60 name:kOOJavaScriptEngineWillResetNotification
67 [_owningScript release];
69 [
self deleteJSPointers];
80- (void)setCallback:(jsval)callback
96- (void)setCallbackThis:(JSObject *)callbackThis
106- (void)runCallback:(HPVector)location
110 jsval loc, rval = JSVAL_VOID;
BOOL VectorToJSValue(JSContext *context, Vector vector, jsval *outValue) NONNULL_FUNC
OOINLINE JSContext * OOJSAcquireContext(void)
#define OOJSAddGCObjectRoot(context, root, name)
OOINLINE void OOJSRelinquishContext(JSContext *context)
#define OOJSAddGCValueRoot(context, root, name)
OOJSScript * _owningScript
JSObject * callbackThis()
void pushScript:(OOJSScript *script)
OOJSScript * currentlyRunningScript()
void popScript:(OOJSScript *script)
BOOL callJSFunction:forObject:argc:argv:result:(jsval function,[forObject] JSObject *jsThis,[argc] uintN argc,[argv] jsval *argv,[result] jsval *outResult)
OOJavaScriptEngine * sharedEngine()