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

Function alloc_buffer_len

src/hx/CFFI.cpp:579–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577
578
579buffer alloc_buffer_len(int inLen)
580{
581 ByteArray b = new Array_obj<unsigned char>(inLen,inLen);
582 return (buffer)b;
583}
584
585
586value buffer_val(buffer b)

Callers 1

createAnonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected