MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / DeleteBuffer

Method DeleteBuffer

Sources/Jazz2/Scripting/RegisterArray.cpp:893–899  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

891
892 // internal
893 void CScriptArray::DeleteBuffer(SArrayBuffer* buf)
894 {
895 Destruct(buf, 0, buf->numElements);
896
897 // Free the buffer
898 asFreeMem(buf);
899 }
900
901 // internal
902 void CScriptArray::Construct(SArrayBuffer* buf, std::uint32_t start, std::uint32_t end)

Callers

nothing calls this directly

Calls 1

DestructFunction · 0.85

Tested by

no test coverage detected