MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ~dObStack

Method ~dObStack

3rd_party/Src/ode/ode/src/obstack.cpp:49–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49dObStack::~dObStack()
50{
51 // free all arenas
52 Arena *a,*nexta;
53 a = first;
54 while (a) {
55 nexta = a->next;
56 dFree (a,dOBSTACK_ARENA_SIZE);
57 a = nexta;
58 }
59}
60
61
62void *dObStack::alloc (int num_bytes)

Callers

nothing calls this directly

Calls 1

dFreeFunction · 0.85

Tested by

no test coverage detected