pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:189:   #define PROG_FROM_PTR(P,X) (INHERIT_FROM_PTR(P,X)->prog)   #define ID_FROM_PTR(P,X) (PROG_FROM_PTR(P,X)->identifiers+(X)->identifier_offset)   #define INHERIT_FROM_INT(P,X) INHERIT_FROM_PTR(P,(P)->identifier_references+(X))   #define PROG_FROM_INT(P,X) PROG_FROM_PTR(P,(P)->identifier_references+(X))   #define ID_FROM_INT(P,X) ID_FROM_PTR(P,(P)->identifier_references+(X))      #define free_program(p) do{ struct program *_=(p); if(!--_->refs) really_free_program(_); }while(0)      extern struct object fake_object;   extern struct program fake_program; + extern struct program *first_program;      /* Prototypes begin here */   void use_module(struct svalue *s);   int find_module_identifier(struct pike_string *ident);   struct program *id_to_program(INT32 id);   void setup_fake_program(void);   void start_new_program(void);   void really_free_program(struct program *p);   void dump_program_desc(struct program *p);   void toss_current_program(void);