Branch: Tag:

2012-10-27

2012-10-27 15:29:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Added low_program_from_svalue().

This allows for passing the parent object and identifier when needed.

This is needed for [bug 6573 (#6573)].

1031:   PMOD_EXPORT char *get_storage(struct object *o, struct program *p);   struct program *low_program_from_function(struct object *o, INT32 i);   PMOD_EXPORT struct program *program_from_function(const struct svalue *f); + PMOD_EXPORT struct program *low_program_from_svalue(const struct svalue *s, +  struct object **parent_obj, +  int *parent_id);   PMOD_EXPORT struct program *program_from_svalue(const struct svalue *s);   struct find_child_cache_s;   int find_child(struct program *parent, struct program *child);