Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

include/interpret.h

Go to the documentation of this file.
00001 // interpret.h
00005 
00006 #ifndef INTERPRET_H
00007 #define INTERPRET_H
00008 
00009 //#include <stdarg.h>
00010 #include "substdio.h"
00011 
00012 #define ACTIVE_STACK_DEPTH 32
00013 #define REGISTER_STACK_DEPTH 128
00014 #define CALL_STACK_DEPTH 32
00015 
00016 //{{{
00017 typedef struct return_info
00018 {
00019     short returns;
00020     long retval;
00021 } return_info_t;
00022 //}}}
00023 
00024 void load_and_run(char *filename);
00025 long run_program(const unsigned char *program_data, int num_params, va_list params);
00026 return_info_t interpret_call(int which_func, long *params);
00027 
00028 #endif //INTERPRET_H
00029 

Generated on Thu May 20 13:12:09 2004 for CalcRogue by doxygen 1.3.6