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

Function alloc_raw_string

src/hx/CFFI.cpp:910–913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908}
909
910hx::Object * alloc_raw_string(int length)
911{
912 return Dynamic( String( (HX_CHAR *) alloc_private(length+1), length) ).GetPtr();
913}
914
915void val_gc(hx::Object * arg1,hx::finalizer arg2) THROWS
916{

Callers 1

resizeByteDataFunction · 0.85

Calls 4

GetPtrMethod · 0.80
alloc_privateFunction · 0.70
DynamicClass · 0.50
StringClass · 0.50

Tested by

no test coverage detected