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.195 2003/11/28 15:44:27 grubba Exp $ + || $Id: program.h,v 1.196 2003/12/30 09:24:53 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"
pike.git/src/program.h:155:    * to the identifier. See LOW_GET_GLOBAL and GET_GLOBAL. The stored    * variable may be either a normal or a short svalue, depending on    * identifier.run_time_type.    *    * For constants: Offset of the struct program_constant in    * program.constants in the program pointed to by prog in the struct    * inherit that corresponds to the identifier.    *    * For pike functions: Offset to the start of the function in    * program.program in the program pointed to by prog in the struct -  * inherit that corresponds to the identifier. */ +  * inherit that corresponds to the identifier. Or -1 if a prototype. +  */    ptrdiff_t offset;   };      #define IDENTIFIER_VARIABLE 0   #define IDENTIFIER_PIKE_FUNCTION 1   #define IDENTIFIER_C_FUNCTION 2   #define IDENTIFIER_FUNCTION 3   #define IDENTIFIER_CONSTANT 4   #define IDENTIFIER_TYPE_MASK 7