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

Function alloc_string_len

src/hx/CFFI.cpp:436–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436hx::Object *alloc_string_len(const char *inStr,int inLen)
437{
438 return Dynamic( String::create(inStr,inLen) ).GetPtr();
439}
440
441hx::Object *alloc_wstring_len(const wchar_t *inStr,int inLen)
442{

Callers 2

alloc_stringFunction · 0.85
ToValueFunction · 0.85

Calls 2

GetPtrMethod · 0.80
DynamicClass · 0.50

Tested by

no test coverage detected