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.
37
1998/04/
08
01
:
00
:
58
hubbe Exp $
+
* $Id: program.h,v 1.
38
1998/04/
09
02
:
49
:
48
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:243:
struct program *parent_compilation(int level); struct program *id_to_program(INT32 id); void optimize_program(struct program *p); void fixate_program(void); void low_start_new_program(struct program *p, struct pike_string *name, int flags); void start_new_program(void); void really_free_program(struct program *p); void dump_program_desc(struct program *p);
+
int sizeof_variable(int run_time_type);
void check_program(struct program *p); struct program *end_first_pass(int finish); struct program *debug_end_program(void); SIZE_T low_add_storage(SIZE_T size, SIZE_T alignment); SIZE_T add_storage(SIZE_T storage); void set_init_callback(void (*init)(struct object *)); void set_exit_callback(void (*exit)(struct object *)); void set_gc_mark_callback(void (*m)(struct object *)); void set_gc_check_callback(void (*m)(struct object *)); int low_reference_inherited_identifier(struct program_state *q,
pike.git/src/program.h:331:
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); int store_constant(struct svalue *foo, int equal); void start_line_numbering(void); void store_linenumber(INT32 current_line, struct pike_string *current_file); char *get_line(unsigned char *pc,struct program *prog,INT32 *linep); void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2))); struct program *compile(struct pike_string *prog);
-
void
add_function(char *name,void (*cfun)(INT32),char *type,INT16 flags);
+
int
add_function(char *name,void (*cfun)(INT32),char *type,INT16 flags);
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);