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

Function JS_ToCStringLen

deps/quickjs/quickjs.h:880–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878JS_EXTERN JSValue JS_ToPropertyKey(JSContext *ctx, JSValueConst val);
879JS_EXTERN const char *JS_ToCStringLen2(JSContext *ctx, size_t *plen, JSValueConst val1, bool cesu8);
880static inline const char *JS_ToCStringLen(JSContext *ctx, size_t *plen, JSValueConst val1)
881{
882 return JS_ToCStringLen2(ctx, plen, val1, 0);
883}
884static inline const char *JS_ToCString(JSContext *ctx, JSValueConst val1)
885{
886 return JS_ToCStringLen2(ctx, NULL, val1, 0);

Callers 8

js_printf_internalFunction · 0.85
js_std_writeFileFunction · 0.85
js_module_import_typeFunction · 0.85
js_evalScriptFunction · 0.85
js_std_file_putsFunction · 0.85
js_std_file_read_writeFunction · 0.85
js_os_mkdstempFunction · 0.85
js_evalScript_262Function · 0.85

Calls

no outgoing calls

Tested by 1

js_evalScript_262Function · 0.68