| ||||||
SummaryConverts a JS integer value to an integer. | ||||||
SyntaxJSVAL_TO_INT(v) | ||||||
DescriptionJSVAL_TO_INT converts a specified JS integer value, v , to a C integer value by performing a bitwise right shift operation. JSVAL_TO_INT assumes that it was passed a JS value of type JSVAL_INT , and returns that JS value's corresponding C integer value. Note that because of the bit-shifting operation, that a C comparison of JSVAL_TO_INT(v) to v always results in nonequality.
| ||||||
See Also
|