Function javascriptcore_sys::JSClassCreate
source · pub unsafe extern "C" fn JSClassCreate(
definition: *const JSClassDefinition
) -> JSClassRefExpand description
Creates a JavaScript class suitable for use with JSObjectMake.
definition: AJSClassDefinitionthat defines the class.
Returns a JSClass with the given definition. Ownership follows
the Create Rule.