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

Function JS_ToCStringLen

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

Source from the content-addressed store, hash-verified

675JSValue JS_ToPropertyKey(JSContext* ctx, JSValueConst val);
676const char* JS_ToCStringLen2(JSContext* ctx, size_t* plen, JSValueConst val1, JS_BOOL cesu8);
677static inline const char* JS_ToCStringLen(JSContext* ctx, size_t* plen, JSValueConst val1) {
678 return JS_ToCStringLen2(ctx, plen, val1, 0);
679}
680static inline const char* JS_ToCString(JSContext* ctx, JSValueConst val1) {
681 return JS_ToCStringLen2(ctx, NULL, val1, 0);
682}

Callers 3

valueToStringMethod · 0.85
valueToStaticStringMethod · 0.85
tsn_printFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected