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

Function api_alloc_buffer_len

include/hx/CFFINekoLoader.h:276–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276neko_buffer api_alloc_buffer_len(int inLen)
277{
278 neko_value str=api_alloc_string_len(0,inLen+1);
279 char *s=(char *)api_val_string(str);
280 memset(s,0,inLen+1);
281 return (neko_buffer)str;
282}
283
284
285

Callers

nothing calls this directly

Calls 2

api_alloc_string_lenFunction · 0.85
api_val_stringFunction · 0.85

Tested by

no test coverage detected