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

Method rewind

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

Source from the content-addressed store, hash-verified

103
104
105void *dObStack::rewind()
106{
107 current_arena = first;
108 current_ofs = sizeof (Arena);
109 if (current_arena) {
110 ROUND_UP_OFFSET_TO_EFFICIENT_SIZE (current_arena,current_ofs)
111 return ((char*) current_arena) + current_ofs;
112 }
113 else return 0;
114}
115
116
117void *dObStack::next (int num_bytes)

Callers 1

dJointGroupEmptyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected