pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
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.
38
1998/04/
09
02
:
49
:
48
hubbe Exp $
+
* $Id: program.h,v 1.
39
1998/04/
10
22
:
24
:
22
hubbe Exp $
*/ #ifndef PROGRAM_H #define PROGRAM_H #include <stdarg.h> #include "global.h" #include "pike_types.h" #include "svalue.h" #define LFUN___INIT 0
pike.git/src/program.h:101:
{ void (*c_fun)(INT32); INT32 offset; }; #define IDENTIFIER_PIKE_FUNCTION 1 #define IDENTIFIER_C_FUNCTION 2 #define IDENTIFIER_FUNCTION 3 #define IDENTIFIER_CONSTANT 4 #define IDENTIFIER_VARARGS 8
+
#define IDENTIFIER_PROTOTYPED 16
#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 identifier_flags; /* IDENTIFIER_??? */
pike.git/src/program.h:343:
void check_all_programs(void); void cleanup_program(void); void gc_mark_program_as_referenced(struct program *p); void gc_check_all_programs(void); void gc_mark_all_programs(void); void gc_free_all_unreferenced_programs(void); void count_memory_in_programs(INT32 *num_, INT32 *size_); void push_compiler_frame(void); void pop_local_variables(int level); void pop_compiler_frame(void);
+
int low_get_storage(struct program *o, struct program *p);
char *get_storage(struct object *o, struct program *p); struct program *low_program_from_function(struct program *p, INT32 i); struct program *program_from_function(struct svalue *f); struct program *program_from_svalue(struct svalue *s); struct find_child_cache_s; int find_child(struct program *parent, struct program *child); void yywarning(char *fmt, ...) ATTRIBUTE((format(printf,1,2))); /* Prototypes end here */ #endif #ifdef DEBUG_MALLOC #define end_program() ((struct program *)debug_malloc_touch(debug_end_program())) #define end_class(NAME, FLAGS) do { debug_malloc_touch(new_program); debug_end_class(NAME, FLAGS); }while(0) #else #define end_class debug_end_class #define end_program debug_end_program #endif