Oolite
Loading...
Searching...
No Matches
OOSoundSource(OOJavaScriptExtentions) Category Reference

Instance Methods

(jsval) - oo_jsValueInContext: [implementation]
(NSString *) - oo_jsClassName [implementation]

Detailed Description

Definition at line 322 of file OOJSSoundSource.m.

Method Documentation

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Extends class OOSoundSource.

Definition at line 340 of file OOJSSoundSource.m.

341{
342 return @"SoundSource";
343}

References oo_jsClassName.

Referenced by oo_jsClassName.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_jsValueInContext:

- (JSValue) oo_jsValueInContext: (JSContext*) context
implementation

Extends class OOSoundSource.

Definition at line 324 of file OOJSSoundSource.m.

324 :(JSContext*)context
325{
326 JSObject* jsSelf = NULL;
327 jsval result = JSVAL_NULL;
328
329 jsSelf = JS_NewObject(context, &sSoundSourceClass, sSoundSourcePrototype, NULL);
330 if (jsSelf != NULL) {
331 if (!JS_SetPrivate(context, jsSelf, [self retain]))
332 jsSelf = NULL;
333 }
334 if (jsSelf != NULL)
335 result = OBJECT_TO_JSVAL(jsSelf);
336
337 return result;
338}
static JSClass sSoundSourceClass
static JSObject * sSoundSourcePrototype

References sSoundSourceClass, and sSoundSourcePrototype.


The documentation for this category was generated from the following files: