Oolite 1.91.0.7646-241128-10e222e
|
import "OOJSCall.h"
import "OOJavaScriptEngine.h"
import "OOFunctionAttributes.h"
import "ShipEntity.h"
import "OOCollectionExtractors.h"
import "OOShaderUniformMethodType.h"
import "OOJSVector.h"
import "OOJSQuaternion.h"
Go to the source code of this file.
Classes | |
class | OOJSCallMethodSignatureTemplateClass |
Enumerations | |
enum | MethodType { kMethodTypeInvalid = kOOShaderUniformTypeInvalid , kMethodTypeCharVoid = kOOShaderUniformTypeChar , kMethodTypeUnsignedCharVoid = kOOShaderUniformTypeUnsignedChar , kMethodTypeShortVoid = kOOShaderUniformTypeShort , kMethodTypeUnsignedShortVoid = kOOShaderUniformTypeUnsignedShort , kMethodTypeIntVoid = kOOShaderUniformTypeInt , kMethodTypeUnsignedIntVoid = kOOShaderUniformTypeUnsignedInt , kMethodTypeLongVoid = kOOShaderUniformTypeLong , kMethodTypeUnsignedLongVoid = kOOShaderUniformTypeUnsignedLong , kMethodTypeFloatVoid = kOOShaderUniformTypeFloat , kMethodTypeDoubleVoid = kOOShaderUniformTypeDouble , kMethodTypeVectorVoid = kOOShaderUniformTypeVector , kMethodTypeQuaternionVoid = kOOShaderUniformTypeQuaternion , kMethodTypeMatrixVoid = kOOShaderUniformTypeMatrix , kMethodTypePointVoid = kOOShaderUniformTypePoint , kMethodTypeObjectVoid = kOOShaderUniformTypeObject , kMethodTypeObjectObject , kMethodTypeVoidVoid , kMethodTypeVoidObject } |
Functions | |
static MethodType | GetMethodType (id object, SEL selector) |
OOINLINE BOOL | MethodExpectsParameter (MethodType type) |
BOOL | OOJSCallObjCObjectMethod (JSContext *context, id object, NSString *oo_jsClassName, uintN argc, jsval *argv, jsval *outResult) |
static BOOL | SignatureMatch (NSMethodSignature *sig, SEL selector) |
Variables | |
__pad0__ | |
enum MethodType |
Definition at line 41 of file OOJSCall.m.
|
static |
Definition at line 214 of file OOJSCall.m.
Referenced by OOJSCallObjCObjectMethod().
OOINLINE BOOL MethodExpectsParameter | ( | MethodType | type | ) |
Definition at line 68 of file OOJSCall.m.
References kMethodTypeObjectObject, and kMethodTypeVoidObject.
Referenced by OOJSCallObjCObjectMethod().
BOOL OOJSCallObjCObjectMethod | ( | JSContext * | context, |
id | object, | ||
NSString * | oo_jsClassName, | ||
uintN | argc, | ||
jsval * | argv, | ||
jsval * | outResult ) |
Definition at line 71 of file OOJSCall.m.
References GetMethodType(), JSQuaternionWithQuaternion(), JSVectorWithVector(), kMethodTypeCharVoid, kMethodTypeDoubleVoid, kMethodTypeFloatVoid, kMethodTypeIntVoid, kMethodTypeInvalid, kMethodTypeLongVoid, kMethodTypeMatrixVoid, kMethodTypeObjectObject, kMethodTypeObjectVoid, kMethodTypePointVoid, kMethodTypeQuaternionVoid, kMethodTypeShortVoid, kMethodTypeUnsignedCharVoid, kMethodTypeUnsignedIntVoid, kMethodTypeUnsignedLongVoid, kMethodTypeUnsignedShortVoid, kMethodTypeVectorVoid, kMethodTypeVoidObject, kMethodTypeVoidVoid, MethodExpectsParameter(), nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSReportError(), and OOStringFromJSValue().
|
static |
Definition at line 205 of file OOJSCall.m.
References nil.
Referenced by OOJSCallMethodSignatureTemplateClass::objectObjectMethod:.
__pad0__ |
Definition at line 214 of file OOJSCall.m.