pike.git
/
src
/
program.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.h:62:
#ifndef STRUCT_NODE_S_DECLARED #define STRUCT_NODE_S_DECLARED struct node_s; #endif #ifndef STRUCT_OBJECT_DECLARED #define STRUCT_OBJECT_DECLARED struct object; #endif
+
struct program_state;
+
/* I need: * a) one type that can point to a callable function. * (C function, or object->fun) * This can for instance be an svalue. * * b) one type that once the object/program is known can point * to the C/PIKE function body. * * c) A number of flags to send to 'add_simul_efun' to specify side effects * and such.
pike.git/src/program.h:238:
void start_new_program(void); void really_free_program(struct program *p); void dump_program_desc(struct program *p); void check_program(struct program *p); struct program *end_first_pass(int finish); struct program *debug_end_program(void); SIZE_T add_storage(SIZE_T size); 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 *));
-
int low_reference_inherited_identifier(int e,
+
int low_reference_inherited_identifier(
struct program_state *q,
+
int e,
struct pike_string *name);
-
int
reference_inherited_identifier(struct pike_string *super_name,
+
node
*
reference_inherited_identifier(struct pike_string *super_name,
struct pike_string *function_name); void rename_last_inherit(struct pike_string *n); void low_inherit(struct program *p, struct object *parent, int parent_identifier, int parent_offset, INT32 flags, struct pike_string *name); void do_inherit(struct svalue *s, INT32 flags,