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

Function JS_ToUint32

deps/quickjs/quickjs.h:855–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853JS_EXTERN JSValue JS_ToNumber(JSContext *ctx, JSValueConst val);
854JS_EXTERN int JS_ToInt32(JSContext *ctx, int32_t *pres, JSValueConst val);
855static inline int JS_ToUint32(JSContext *ctx, uint32_t *pres, JSValueConst val)
856{
857 return JS_ToInt32(ctx, (int32_t*)pres, val);
858}
859JS_EXTERN int JS_ToInt64(JSContext *ctx, int64_t *pres, JSValueConst val);
860JS_EXTERN int JS_ToIndex(JSContext *ctx, uint64_t *plen, JSValueConst val);
861JS_EXTERN int JS_ToFloat64(JSContext *ctx, double *pres, JSValueConst val);

Callers 4

js_os_signalFunction · 0.85
js_os_execFunction · 0.85
js_agent_sleepFunction · 0.85
cfunctionsFunction · 0.85

Calls

no outgoing calls

Tested by 2

js_agent_sleepFunction · 0.68
cfunctionsFunction · 0.68