JSCFunctionListEntry class

Implemented types
Mixed-in types
  • AutoDisposeFinalizer

Constructors

JSCFunctionListEntry.defAlias(JSContext ctx, String name, String from, {bool autoDispose = true})
factory
JSCFunctionListEntry.defAliasBase(JSContext ctx, String name, String from, int base, {bool autoDispose = true})
factory
JSCFunctionListEntry.defCFunc(JSContext _ctx, String name, {JSCFunction? func, int argc = 0, bool autoDispose = true})
JSCFunctionListEntry.defCFuncMagic(JSContext ctx, String name, {JSCFunctionGenericMagicFunction? func, int magic = 0, int argc = 0, bool autoDispose = true})
factory
JSCFunctionListEntry.defCGetset(JSContext ctx, String name, {JSCFunctionGetterFunction? getFunc, JSCFunctionSetterFunction? setFunc, bool autoDispose = true})
factory
JSCFunctionListEntry.defCGetsetMagic(JSContext ctx, String name, {JSCFunctionGetterMagicFunction? getFunc, JSCFunctionSetterMagicFunction? setFunc, int magic = 0, bool autoDispose = true})
factory
JSCFunctionListEntry.defIteratorNext(JSContext ctx, String name, {JSCFunctionIterNextFunction? func, int magic = 0, int argc = 0, bool autoDispose = true})
factory
JSCFunctionListEntry.defObject(JSContext ctx, String name, JSCFunctionListEntry tab, int len, JSProp propFlags, {bool autoDispose = true})
factory
JSCFunctionListEntry.defPropDouble(JSContext ctx, String name, double val, JSProp propFlags, {bool autoDispose = true})
factory
JSCFunctionListEntry.defPropInt32(JSContext ctx, String name, int val, JSProp propFlags, {bool autoDispose = true})
factory
JSCFunctionListEntry.defPropInt64(JSContext ctx, String name, int val, JSProp propFlags, {bool autoDispose = true})
factory
JSCFunctionListEntry.defPropString(JSContext ctx, String name, String cstr, JSProp propFlags, {bool autoDispose = true})
factory
JSCFunctionListEntry.defPropUndefined(JSContext ctx, String name, JSProp propFlags, {bool autoDispose = true})
factory

Properties

defType JSDef
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
magic int
getter/setter pair
name String
getter/setter pair
nativeFinalizer NativeFinalizer?
dart 对象回收器
getter/setter pairinherited
propFlags JSProp
getter/setter pair
ref JSCFunctionListEntryRef
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
union JSCFuntionListEntryUnion?
getter/setter pair

Methods

attach(Pointer<NativeFinalizerFunction> callback, Pointer<Void> token, {bool autoDispose = true, Object? detach, int? externalSize}) → dynamic
将引擎持有的指针和 dart 对象回收器绑定。确保 dart 对象销毁的时候,释放引擎持有的指针和资源
inherited
detach() → dynamic
将引擎持有的指针和资源释放
inherited
free() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited