JSClassDefinitionPointer extension
Static Methods
-
allocate(
{int version = 0, int attributes = JSClassAttributes.kJSClassAttributeNone, required Pointer< Utf8> className, Pointer<NativeType> ? parentClass, Pointer<JSStaticValue> ? staticValues, Pointer<JSStaticFunction> ? staticFunctions, Pointer<NativeFunction< ? initialize, Pointer<JSObjectInitializeCallback> >NativeFunction< ? finalize, Pointer<JSObjectFinalizeCallback> >NativeFunction< ? hasProperty, Pointer<JSObjectHasPropertyCallback> >NativeFunction< ? getProperty, Pointer<JSObjectGetPropertyCallback> >NativeFunction< ? setProperty, Pointer<JSObjectSetPropertyCallback> >NativeFunction< ? deleteProperty, Pointer<JSObjectDeletePropertyCallback> >NativeFunction< ? getPropertyNames, Pointer<JSObjectGetPropertyNamesCallback> >NativeFunction< ? callAsFunction, Pointer<JSObjectCallAsFunctionCallback> >NativeFunction< ? callAsConstructor, Pointer<JSObjectCallAsConstructorCallback> >NativeFunction< ? hasInstance, Pointer<JSObjectHasInstanceCallback> >NativeFunction< ? convertToType}) → Pointer<JSObjectConvertToTypeCallback> >JSClassDefinition> -
Available on Pointer<
JSClassDefinition> , provided by the JSClassDefinitionPointer extension