[ODE] stack requirements
David McClurg
dmcclurg at pandemicstudios.com.au
Mon Jul 22 16:29:02 2002
ode/src/stack.cpp/h seems to be a *unused* replacement for alloca. is this something that never got finished or didn't work out? Here's the interface...
class dStack
{
void init(int max_size);
void pushFrame();
void popFrame();
char *alloc(int size)
};
Can I help with this? Do you prefer a ansi-C interface with function overrides like the other memory routines to make it public?
I need to have something like this to lower my stack requirements. Also-- "The alloca() function is machine dependent; its use is discouraged."