| ||||||
SummaryCasts a private data pointer to a JS integer value. | ||||||
SyntaxPRIVATE_TO_JSVAL(p) | ||||||
DescriptionPRIVATE_TO_JSVAL enables you to store a private data pointer, p , as a JS value. The private pointer must be word-aligned. Before passing a pointer to PRIVATE_TO_JSVAL , test it with INT_FITS_IN_JSVAL to be verify that the pointer can be cast to a legal JS integer value.
| ||||||
See Also
|