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

Method intern

src/runtime/context.cpp:479–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477 }
478
479 char * Context::intern( const char * str ) {
480 if ( !str ) return nullptr;
481 uint32_t len = uint32_t(strlen(str));
482 return intern(str, len);
483 }
484
485 char * Context::intern ( const char * str, uint32_t len ) {
486 if ( !str || !len ) return nullptr;

Callers

nothing calls this directly

Calls 1

impl_allocateStringMethod · 0.45

Tested by

no test coverage detected