Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
704
static inline JSValue JS_NewInt32(JSContext *ctx, int32_t val)
705
{
706
(void)&ctx;
707
return JS_MKVAL(JS_TAG_INT, val);
708
}
709
710
static inline JSValue JS_NewFloat64(JSContext *ctx, double val)
711
{
Callers
15
CreateModule
Function · 0.85
js_printf_internal
Function · 0.85
js_set_error_object
Function · 0.85
js_std_file_close
Function · 0.85
js_std_file_seek
Function · 0.85
js_std_file_fileno
Function · 0.85
js_std_file_getByte
Function · 0.85
js_std_file_putByte
Function · 0.85
js_std_urlGet
Function · 0.85
js_os_open
Function · 0.85
js_os_close
Function · 0.85
js_os_ttyGetWinSize
Function · 0.85
Calls
1
JS_MKVAL
Function · 0.85
Tested by
3
agent_start
Function · 0.68
qjs_black_box
Function · 0.68
gop_get_own_property
Function · 0.68