Function jscjs_sys::api::JSClassCreate[][src]

pub unsafe extern "C" fn JSClassCreate(
    definition: *const JSClassDefinition
) -> JSClassRef
Expand description

@function @abstract Creates a JavaScript class suitable for use with JSObjectMake. @param definition A JSClassDefinition that defines the class. @result A JSClass with the given definition. Ownership follows the Create Rule.