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 as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.152 2002/02/06 17:23:24 grubba Exp $ +  * $Id: program.h,v 1.153 2002/03/01 22:42:40 nilsson 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:182:   /*    * in the bytecode, a function starts with:    * char num_args    * char num_locals    * char code[]    */      #define ID_STATIC 0x01 /* Symbol is not visible by indexing */   #define ID_PRIVATE 0x02 /* Symbol is not visible by inherit */   #define ID_NOMASK 0x04 /* Symbol may not be overloaded */ - #define ID_PUBLIC 0x08 - #define ID_PROTECTED 0x10 - #define ID_INLINE 0x20 - #define ID_HIDDEN 0x40 /* needed? */ - #define ID_INHERITED 0x80 + #define ID_PUBLIC 0x08 /* Anti private */ + #define ID_PROTECTED 0x10 /* Not currently used at all */ + #define ID_INLINE 0x20 /* Same as local */ + #define ID_HIDDEN 0x40 /* Symbols that are private and inherited one step later */ + #define ID_INHERITED 0x80 /* Symbol is inherited */   #define ID_OPTIONAL 0x100 /* Symbol is not required by the interface */   #define ID_EXTERN 0x200 /* Symbol is defined later */   #define ID_VARIANT 0x400 /* Function is overloaded by argument. */   #define ID_ALIAS 0x800 /* Variable is an overloaded alias. */      #define ID_MODIFIER_MASK 0x0fff      #define ID_STRICT_TYPES 0x8000 /* #pragma strict_types */   #define ID_SAVE_PARENT 0x10000 /* #pragma save_parent */