Branch: Tag:

2013-10-28

2013-10-28 20:02:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make more stuff available to cmods.

{really_,}low_reference_inherited_identifier() are needed
to be able to access overloaded identifiers from C-modules.

4334:    Pike_compiler->new_program->optimize = opt;   }    - int really_low_reference_inherited_identifier(struct program_state *q, + PMOD_EXPORT int really_low_reference_inherited_identifier(struct program_state *q,    int e,    int i)   {
4382:    return num_id_refs; /* aka np->num_identifier_references - 1 */   }    - int low_reference_inherited_identifier(struct program_state *q, + PMOD_EXPORT int low_reference_inherited_identifier(struct program_state *q,    int e,    struct pike_string *name,    int flags)