jSClassCreate top-level property
Creates a JavaScript class suitable for use with JSObjectMake.
definition
(JSClassDefinition*) A JSClassDefinition that defines the class.
@result
(JSClassRef) A JSClass with the given definition. Ownership follows the Create Rule.
Implementation
final Pointer Function(Pointer<JSClassDefinition> definition) jSClassCreate =
JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer)>>('JSClassCreate')
.asFunction();