pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:67:   union idptr   {    void (*c_fun)(INT32);    INT32 offset;   };      #define IDENTIFIER_PIKE_FUNCTION 1   #define IDENTIFIER_C_FUNCTION 2   #define IDENTIFIER_FUNCTION 3   #define IDENTIFIER_VARARGS 4 + #define IDENTIFIER_CONSTANT 8    -  + #define IDENTIFIER_IS_FUNCTION(X) ((X) & IDENTIFIER_FUNCTION) + #define IDENTIFIER_IS_CONSTANT(X) ((X) & IDENTIFIER_CONSTANT) + #define IDENTIFIER_IS_VARIABLE(X) (!((X) & (IDENTIFIER_FUNCTION | IDENTIFIER_CONSTANT))) +    struct identifier   {    struct pike_string *name;    struct pike_string *type;    unsigned INT16 flags; /* IDENTIFIER_??? */    unsigned INT16 run_time_type;    union idptr func;   };      /*
pike.git/src/program.h:178:   int low_reference_inherited_identifier(int e,struct pike_string *name);   int reference_inherited_identifier(struct pike_string *super_name,    struct pike_string *function_name);   void rename_last_inherit(struct pike_string *n);   void do_inherit(struct program *p,INT32 flags, struct pike_string *name);   void simple_do_inherit(struct pike_string *s, INT32 flags,struct pike_string *name);   int isidentifier(struct pike_string *s);   int define_variable(struct pike_string *name,    struct pike_string *type,    INT32 flags); + int add_constant(struct pike_string *name, +  struct svalue *c, +  INT32 flags);   INT32 define_function(struct pike_string *name,    struct pike_string *type,    INT16 flags,    INT8 function_flags,    union idptr *func);   struct ff_hash;   int find_shared_string_identifier(struct pike_string *name,    struct program *prog);   int find_identifier(char *name,struct program *prog);   int store_prog_string(struct pike_string *str);