pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.h,v 1.218 2005/03/15 09:59:28 grubba Exp $ + || $Id: program.h,v 1.219 2005/11/19 20:06:00 grubba Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "dmalloc.h"   #include "time_stuff.h"   #include "program_id.h"   #include "pike_rusage.h"   #include "block_alloc_h.h" -  + #include "pikecode.h"      /* Needed to support dynamic loading on NT */   PMOD_PROTO extern struct program_state * Pike_compiler;      /* Compilation flags */   #define COMPILATION_CHECK_FINAL 0x01    /* This flag is set when resolve functions should force the lookup so    * that we don't get a placeholder back. Used for inherits. */   #define COMPILATION_FORCE_RESOLVE 0x02   
pike.git/src/program.h:128:   #include "compilation.h"      /* Byte-code method identification. */   #define PIKE_BYTECODE_PORTABLE -1 /* Only used by the codec. */   #define PIKE_BYTECODE_DEFAULT 0   #define PIKE_BYTECODE_GOTO 1   #define PIKE_BYTECODE_SPARC 2   #define PIKE_BYTECODE_IA32 3   #define PIKE_BYTECODE_PPC32 4    + #ifndef PIKE_BYTECODE_METHOD + #error PIKE_BYTECODE_METHOD not set. + #endif +    #if PIKE_BYTECODE_METHOD == PIKE_BYTECODE_IA32   #define PIKE_OPCODE_T unsigned INT8   #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_SPARC   #define PIKE_OPCODE_T unsigned INT32   #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_PPC32   #define PIKE_OPCODE_T unsigned INT32   #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_GOTO   #define PIKE_OPCODE_T void *   #define PIKE_INSTR_T void *   #else