Function javascriptcore_sys::JSClassCreate [] [src]

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

Creates a JavaScript class suitable for use with JSObjectMake.

Returns a JSClass with the given definition. Ownership follows the Create Rule.