Description
Use JSObjectOps to define an optional structure of pointers to custom property methods for a class. If you define JSObjectOps , you can create methods to override the default methods used by JSClass .
If you create a JSObjectOps structure for a given class, then you must also supply or create methods for creating and destroying the object map used by this object, and you must create custom methods for looking up, defining, getting, setting, and deleting properties. You must also create methods for getting and setting property attributes, checking object access privileges, converting property values, and enumerating properties. All other fields are optional, and if not used, should be set to NULL .
|