MCPcopy Create free account
hub / github.com/WheretIB/nullc / auto_array_impl

Function auto_array_impl

NULLC/translation/runtime.cpp:1529–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1527}
1528
1529void auto_array_impl(NULLCAutoArray* arr, unsigned int type, int count, void* unused)
1530{
1531 arr->typeID = type;
1532 arr->len = count;
1533 arr->ptr = (char*)__newS(typeid__size__int_ref__(&type) * (count), type);
1534}
1535NULLCAutoArray auto_array__(unsigned type, int count, void* unused)
1536{
1537 NULLCAutoArray res;

Callers 2

auto_array__Function · 0.85

Calls 2

__newSFunction · 0.85
typeid__size__int_ref__Function · 0.85

Tested by

no test coverage detected