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

Function das_context_free_i64

src/misc/daScriptC.cpp:1105–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105void das_context_free_i64 ( das_context * context, void * ptr, uint64_t size ) {
1106 if ( !ptr ) return;
1107 if ( !size ) {
1108 ((Context *)context)->throw_error("das_context_free_i64: size must be non-zero when ptr is non-null");
1109 return;
1110 }
1111 ((Context *)context)->free((char *)ptr, size, nullptr);
1112}
1113
1114// --- Arrays ---
1115

Callers 1

Calls 2

throw_errorMethod · 0.80
freeMethod · 0.45

Tested by

no test coverage detected