MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / das_context_allocate_i64

Function das_context_allocate_i64

src/misc/daScriptC.cpp:1086–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084// --- Context heap (64-bit size) ---
1085
1086void * das_context_allocate_i64 ( das_context * context, uint64_t size ) {
1087 if ( !size ) return nullptr;
1088 return ((Context *)context)->allocate(size, nullptr);
1089}
1090
1091void * das_context_reallocate_i64 ( das_context * context, void * ptr, uint64_t old_size, uint64_t new_size ) {
1092 if ( !new_size ) {

Callers 1

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected