pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:8:   #define PROGRAM_H      #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "dmalloc.h"   #include "time_stuff.h"   #include "program_id.h"   #include "pike_rusage.h" - #include "block_alloc_h.h" +       /* Needed to support dynamic loading on NT */   PMOD_EXPORT extern struct program_state * Pike_compiler;      /* Compilation flags */   #define COMPILATION_CHECK_FINAL 0x01    /* This flag is set when resolve functions should force the lookup so    * that we don't get a placeholder back. Used for inherits. */   #define COMPILATION_FORCE_RESOLVE 0x02   
pike.git/src/program.h:694:    debug_malloc_touch(_); \    DO_IF_DEBUG ( \    DO_IF_PIKE_CLEANUP ( \    if (gc_external_refs_zapped) \    gc_check_zapped (_, PIKE_T_PROGRAM, __FILE__, __LINE__))); \    if(!sub_ref(_)) \    really_free_program(_); \    }while(0)   #endif    - BLOCK_ALLOC_FILL_PAGES(program, n/a); + ATTRIBUTE((malloc)) + PMOD_EXPORT struct program * alloc_program(); + PMOD_EXPORT void really_free_program(struct program * p); + PMOD_EXPORT void count_memory_in_programs(size_t *num, size_t *_size);         extern struct program *first_program;   extern struct program *null_program;   extern struct program *compilation_env_program;   extern struct program *compilation_program;   extern struct object *compilation_environment;   extern struct program *pike_trampoline_program;   extern struct program *gc_internal_program;   extern struct program *placeholder_program;