1 /* This is a Cfunctions (version 0.24) generated header file.
2 Cfunctions is a free program for extracting headers from C files.
3 Get Cfunctions from `http://www.hayamasa.demon.co.uk/cfunctions'. */
5 /* This file was generated with:
6 `cfunctions -i stack.c' */
11 void init_stack (offset initialstack_stack_size , zword initialframe_size );
12 void kill_stack (void);
13 BOOL verify_stack (void);
14 void add_stack_frame (offset return_PC , unsigned num_locals , zword *locals , unsigned num_args , int result_var );
15 void remove_stack_frame (void);
16 void check_set_var (int var , zword val );
17 void mop_func_return (zword ret_val );
19 unsigned stack_get_numlocals (int frame );
21 void op_check_arg_count (void);
25 void op_pop_stack (void);
26 void op_push_stack (void);
27 void mop_store_result (zword val );
28 void op_ret_popped (void);
29 unsigned stack_get_depth (void);
30 BOOL frame_is_valid (unsigned frame );
31 offset frame_get_PC (unsigned frame );
32 zword frame_get_var (unsigned frame , int var );
33 void frame_set_var (unsigned frame , int var , zword val );
34 N_INLINE zword get_var (int var );
35 N_INLINE void set_var (int var , zword val );
36 extern const unsigned qstackframe[];
37 BOOL quetzal_stack_restore (strid_t stream , glui32 qsize );
38 glui32 get_quetzal_stack_size (void);
39 BOOL quetzal_stack_save (strid_t stream );
41 #endif /* CFH_STACK_H */