MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / fromPointer

Method fromPointer

src/String.cpp:916–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916void String::fromPointer(const void *p)
917{
918 char buf[128];
919 SPRINTF(buf,128,"Native(%p)",p);
920 __s = GCStringDup(buf,-1,&length);
921}
922
923#ifdef HX_SMART_STRINGS
924#define ADD_HASH(X) \

Callers

nothing calls this directly

Calls 1

GCStringDupFunction · 0.85

Tested by

no test coverage detected