Branch: Tag:


2014-12-04 19:23:21 by Henrik Grubbström (Grubba) <>

Compiler: Added resolve_program().

Added helper function resolve_program() to simplify resolving of
program symbols during compile-time for C-modules.

This function is used from precompiled code when inheriting
strings (API level 5).

784:   node *find_module_identifier(struct pike_string *ident,    int see_inherit);   node *resolve_identifier(struct pike_string *ident); + PMOD_EXPORT struct program *resolve_program(struct pike_string *ident);   node *program_magic_identifier (struct program_state *state,    int state_depth, int inherit_num,    struct pike_string *ident,