MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / builtin_string_escape

Function builtin_string_escape

src/builtin/module_builtin_string.cpp:629–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627 }
628
629 char * builtin_string_escape ( const char *str, Context * context, LineInfoArg * at ) {
630 if ( !str ) return nullptr;
631 return context->allocateString(escapeString(str,false), at);
632 }
633
634 char * builtin_string_unescape ( const char *str, Context * context, LineInfoArg * at ) {
635 if ( !str ) return nullptr;

Callers

nothing calls this directly

Calls 2

escapeStringFunction · 0.85
allocateStringMethod · 0.80

Tested by

no test coverage detected