Branch: Tag:

2018-12-01

2018-12-01 14:28:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

EFUNs: Added predef::annotations().

This function returns the annotations (if any) corresponding to the
symbols returned by indices() on the same value.

Also adds lfun::_annotations().

116:    LFUN_POW,    LFUN_RPOW,    LFUN__SQRT, +  LFUN__ANNOTATIONS,   };      extern const char *const lfun_names[];
965:   struct array *program_indices(struct program *p);   struct array *program_values(struct program *p);   struct array *program_types(struct program *p); + struct array *program_inherit_annotations(struct program *p); + struct array *program_annotations(struct program *p, int flags);   int low_program_index_no_free(struct svalue *to, struct program *p, int e,    struct object *parent, int parent_identifier);   int program_index_no_free(struct svalue *to, struct svalue *what,