pub unsafe extern "C" fn JSClassCreate(
definition: *const JSClassDefinition,
) -> JSClassRef
Expand description
Creates a JavaScript class suitable for use with JSObjectMake
.
definition
: AJSClassDefinition
that defines the class.
Returns a JSClassRef
with the given definition. Ownership follows
the Create Rule.