MCPcopy Create free account
hub / github.com/buke/quickjs-go / JS_NewInt32

Function JS_NewInt32

deps/quickjs/quickjs.h:704–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704static inline JSValue JS_NewInt32(JSContext *ctx, int32_t val)
705{
706 (void)&ctx;
707 return JS_MKVAL(JS_TAG_INT, val);
708}
709
710static inline JSValue JS_NewFloat64(JSContext *ctx, double val)
711{

Callers 15

CreateModuleFunction · 0.85
js_printf_internalFunction · 0.85
js_set_error_objectFunction · 0.85
js_std_file_closeFunction · 0.85
js_std_file_seekFunction · 0.85
js_std_file_filenoFunction · 0.85
js_std_file_getByteFunction · 0.85
js_std_file_putByteFunction · 0.85
js_std_urlGetFunction · 0.85
js_os_openFunction · 0.85
js_os_closeFunction · 0.85
js_os_ttyGetWinSizeFunction · 0.85

Calls 1

JS_MKVALFunction · 0.85

Tested by 3

agent_startFunction · 0.68
qjs_black_boxFunction · 0.68
gop_get_own_propertyFunction · 0.68