39 [[NSNotificationCenter defaultCenter] addObserver:self
40 selector:@selector(deleteJSPointers)
41 name:kOOJavaScriptEngineWillResetNotification
58 [[NSNotificationCenter defaultCenter] removeObserver:self
59 name:kOOJavaScriptEngineWillResetNotification
66 [_owningScript release];
68 [
self deleteJSPointers];
79- (void)setTitle:(NSString *)title
92- (void)setCategory:(NSString *)category
94 [_category autorelease];
105- (void)setSummary:(NSString *)summary
107 [_summary autorelease];
118- (void)setCallback:(jsval)callback
134- (void)setCallbackThis:(JSObject *)callbackThis
144- (void)runCallback:(NSString *)key
148 jsval rval = JSVAL_VOID;
170 NSComparisonResult byCategory = [_category caseInsensitiveCompare:[other
category]];
171 if (byCategory == NSOrderedSame)
173 return [_title caseInsensitiveCompare:[other
title]];
OOINLINE jsval OOJSValueFromNativeObject(JSContext *context, id object)
OOINLINE JSContext * OOJSAcquireContext(void)
#define OOJSAddGCObjectRoot(context, root, name)
OOINLINE void OOJSRelinquishContext(JSContext *context)
#define OOJSAddGCValueRoot(context, root, name)
JSObject * callbackThis()
OOJSScript * _owningScript
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()