pike.git / src / mapping.h

version» Context lines:

pike.git/src/mapping.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: mapping.h,v 1.10 1998/03/28 15:12:50 grubba Exp $ +  * $Id: mapping.h,v 1.11 1998/04/24 00:01:32 hubbe Exp $    */   #ifndef MAPPING_H   #define MAPPING_H      #include "las.h"      struct mapping   {    INT32 refs, size, hashsize;    TYPE_FIELD ind_types, val_types;
pike.git/src/mapping.h:40:   union anything *mapping_get_item_ptr(struct mapping *m,    struct svalue *key,    TYPE_T t);   void map_delete(struct mapping *m,    struct svalue *key);   void check_mapping_for_destruct(struct mapping *m);   struct svalue *low_mapping_lookup(struct mapping *m,    struct svalue *key);   struct svalue *low_mapping_string_lookup(struct mapping *m,    struct pike_string *p); + void mapping_string_insert(struct mapping *m, +  struct pike_string *p, +  struct svalue *val);   struct svalue *simple_mapping_string_lookup(struct mapping *m,    char *p);   void mapping_index_no_free(struct svalue *dest,    struct mapping *m,    struct svalue *key);   struct array *mapping_indices(struct mapping *m);   struct array *mapping_values(struct mapping *m);   struct array *mapping_to_array(struct mapping *m);   void mapping_replace(struct mapping *m,struct svalue *from, struct svalue *to);   struct mapping *mkmapping(struct array *ind, struct array *val);