jSClassRetain top-level property

Pointer<NativeType> Function(Pointer<NativeType> jsClass) jSClassRetain
final

Retains a JavaScript class. jsClass (JSClassRef) The JSClass to retain. @result (JSClassRef) A JSClass that is the same as jsClass.

Implementation

final Pointer Function(Pointer jsClass) jSClassRetain = JscFfi.lib
    .lookup<NativeFunction<Pointer Function(Pointer)>>('JSClassRetain')
    .asFunction();