Branch: Tag:

2011-01-15

2011-01-15 15:21:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added predef::types() in analogue with indices() and values().

Also adds lfun::_types() and ::_types().

108:    * ie use low_find_lfun(), and NOT FIND_LFUN()!    */   #define LFUN__SEARCH 45 + #define LFUN__TYPES 46      extern const char *const lfun_names[];   
921:    struct pike_string *constant_name);   struct array *program_indices(struct program *p);   struct array *program_values(struct program *p); + struct array *program_types(struct program *p);   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,