Oolite 1.91.0.7646-241128-10e222e
|
import <Foundation/Foundation.h>
#include <jsapi.h>
Go to the source code of this file.
Functions | |
void | InitOOJSSound (JSContext *context, JSObject *global) |
OOSound * | SoundFromJSValue (JSContext *context, jsval value) |
void InitOOJSSound | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 104 of file OOJSSound.m.
References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sSoundClass, sSoundMethods, sSoundProperties, sSoundPrototype, and sSoundStaticMethods.
OOSound * SoundFromJSValue | ( | JSContext * | context, |
jsval | value ) |
Definition at line 111 of file OOJSSound.m.
References GetNamedSound(), OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSNativeObjectOfClassFromJSValue(), OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), OOStringFromJSValue(), and PLAYER.