Function

JSClassCreate

Creates a JavaScript class suitable for use with JSObjectMake.

Declaration

JSClassRef JSClassCreate(const JSClassDefinition *definition);

Parameters

definition

A JSClassDefinition that defines the class.

Return Value

A JSClass with the given definition. Ownership follows the Create Rule.