Branch: Tag:

2001-07-08

2001-07-08 20:52:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved definition of PIKE_OPCODE_T to program.h.

Rev: src/interpret.h:1.93
Rev: src/program.h:1.134

5:   \*/      /* -  * $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
27:   /* 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