27 lines
460 B
C
27 lines
460 B
C
/* structure of the stacks */
|
|
|
|
#ifndef _stacks_
|
|
#define _stacks_
|
|
|
|
|
|
#include "misc.h"
|
|
#include "mlvalues.h"
|
|
#include "memory.h"
|
|
|
|
extern value * stack_low;
|
|
extern value * stack_high;
|
|
extern value * stack_threshold;
|
|
extern value * extern_sp;
|
|
extern value * trapsp;
|
|
|
|
#define Trap_pc(tp) (((code_t *)(tp))[0])
|
|
#define Trap_link(tp) (((value **)(tp))[1])
|
|
|
|
void reset_roots P((void));
|
|
void init_stack P((void));
|
|
void realloc_stack P((void));
|
|
|
|
|
|
#endif /* _stacks_ */
|
|
|