pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:1:
/*\ ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ /*
-
* $Id: program.h,v 1.
133
2001/07/
03
17
:
01
:
48
grubba Exp $
+
* $Id: program.h,v 1.
134
2001/07/
08
20
:
52
:
14
grubba Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include <stdarg.h> #include "global.h" #include "pike_types.h" #include "pike_macros.h" #include "svalue.h" #include "time_stuff.h"
pike.git/src/program.h:20:
#define STRUCT #include "compilation.h" #define EXTERN #include "compilation.h" /* Needed to support dynamic loading on NT */ PMOD_PROTO extern struct program_state * Pike_compiler;
+
#ifdef HAVE_COMPUTED_GOTO
+
#define PIKE_OPCODE_T void *
+
extern PIKE_OPCODE_T *fcode_to_opcode;
+
#else /* !HAVE_COMPUTED_GOTO */
+
#ifdef SHORT_PIKE_OPCODE
+
#define PIKE_OPCODE_T unsigned INT16
+
#else /* !SHORT_PIKE_OPCODE */
+
#define PIKE_OPCODE_T unsigned INT8
+
#endif /* SHORT_PIKE_OPCODE */
+
#endif /* HAVE_COMPUTED_GOTO */
#ifdef PIKE_DEBUG #define PROGRAM_LINE_ARGS int line, char *file #else #define PROGRAM_LINE_ARGS void #endif extern struct pike_string *this_program_string; #define LFUN___INIT 0