JSObjectOp

Obsolete since JavaScript 1.8.5
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

JSObjectOp is the type of several JSAPI callbacks that map an object to another object, or NULL if an error or exception occurred.

typedef JSObject * (*JSObjectOp)(JSContext *cx, JSObject *obj);

The callbacks of this type are:

  • JSExtendedClass.outerObject
  • JSExtendedClass.innerObject
  • JSExtendedClass.wrappedObject
  • JSObjectOps.thisObject

Document Tags and Contributors

 Contributors to this page: arai, fscholz, tschneidereit, Jorend
 Last updated by: arai,