MCPcopy Create free account
hub / github.com/Snapchat/Valdi / JS_NewInt32

Function JS_NewInt32

third-party/quickjs/include/quickjs/quickjs.h:508–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506
507/* value handling */
508
509static js_force_inline JSValue JS_NewBool(JSContext* ctx, JS_BOOL val) {
510 return JS_MKVAL(JS_TAG_BOOL, (val != 0));
511}
512
513static js_force_inline JSValue JS_NewInt32(JSContext* ctx, int32_t val) {

Callers 15

onNewNumberMethod · 0.85
tsn_op_multFunction · 0.85
tsn_op_addFunction · 0.85
tsn_op_subFunction · 0.85
tsn_op_incFunction · 0.85
tsn_op_decFunction · 0.85
tsn_op_bnotFunction · 0.85
tsn_op_negFunction · 0.85
tsn_op_lsFunction · 0.85
tsn_op_rsFunction · 0.85
tsn_op_bxorFunction · 0.85
tsn_op_borFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected