

/*

  Implements simple stacks for storing and retrieving variables

  Used for the environment vars for the functions


*/



#ifndef __STACK_H__
#define __STACK_H__




#define STACK_MAXLENGTH 1024*32




void stack_push_double( double* the_env_var, double newValue );
void stack_pop_double( double* the_env_var );

void stack_push_int( int* the_env_var, int newValue );
void stack_pop_int( int* the_env_var );

void stack_push_ptr( void** the_env_var, void* newValue );
void stack_pop_ptr( void** the_env_var );




#endif



