JavaScript-1.5 Reference

JSCLASS_HAS_PRIVATE Macro

Summary

Flag that indicates a class instance has a private data slot.

Syntax

JSCLASS_HAS_PRIVATE

Description

JSCLASS_HAS_PRIVATE can be specified in the flags field of a JSClass struct to indicate that a class instance has a private data slot. Set this flag if class instances should be allowed to use the JS_GetPrivate and JS_SetPrivate functions to store and retrieve private data.

See Also

Groups [ Macro ]
Documents [ LXR ID Search ]
Entries [ JSClass | JS_GetPrivate | JS_SetPrivate ]

This page was generated by APIDOC