pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.142 2001/08/15 20:58:44 mast Exp $ +  * $Id: program.h,v 1.143 2001/08/16 04:38:53 mast 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:407:    int parent_identifier,    int parent_offset,    INT32 flags,    struct pike_string *name);   PMOD_EXPORT void do_inherit(struct svalue *s,    INT32 flags,    struct pike_string *name);   void compiler_do_inherit(node *n,    INT32 flags,    struct pike_string *name); + int call_handle_inherit(struct pike_string *s);   void simple_do_inherit(struct pike_string *s,    INT32 flags,    struct pike_string *name);   int isidentifier(struct pike_string *s);   int low_define_variable(struct pike_string *name,    struct pike_type *type,    INT32 flags,    size_t offset,    INT32 run_time_type);   PMOD_EXPORT int map_variable(char *name,
pike.git/src/program.h:593:   } while (0)      #define pike_add_function(NAME, CFUN, TYPE, FLAGS) \    pike_add_function2(NAME, CFUN, TYPE, FLAGS, \    OPT_SIDE_EFFECT|OPT_EXTERNAL_DEPEND)      #ifndef NO_PIKE_SHORTHAND   #define add_function pike_add_function   #endif    + #define ADD_INHERIT(PROGRAM, FLAGS) \ +  low_inherit((PROGRAM), 0, 0, 0, (FLAGS), 0) +    #define START_NEW_PROGRAM_ID(ID) do { \    start_new_program(); \    Pike_compiler->new_program->id=PIKE_CONCAT3(PROG_,ID,_ID); \    }while(0)      #ifdef DEBUG_MALLOC   #define end_program() ((struct program *)debug_malloc_pass(debug_end_program()))   #define end_class(NAME, FLAGS) (debug_malloc_touch(Pike_compiler->new_program), debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS))   #else   #define end_class(NAME,FLAGS) debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS)