pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:479:    struct object *parent;       /* The program for this inherit. */    struct program *prog;       /* The name of the inherit, if there is any. For nested inherits,    * this can be a string on the form "A::B::C". */    struct pike_string *name;   };    + /** +  * Special inherit references. +  * +  * These are used by find_inherited_identifier(). +  */ + #define INHERIT_SELF 0 /* Self. */ + #define INHERIT_GLOBAL -1 /* Self and overrideable. */ + #define INHERIT_ALL -2 /* All inherits but not self. */      /*    * Storage struct for a trampoline object    * (not a part of the program type)    */   struct pike_trampoline   {    struct pike_frame *frame;    INT32 func;   };