pike.git
/
src
/
mapping.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/mapping.h:1:
/* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: mapping.h,v 1.
52
2004/
02
/
10
22:
20
:
29
mast Exp $
+
|| $Id: mapping.h,v 1.
53
2004/
03
/
22
19
:
35
:
44
mast Exp $
*/ #ifndef MAPPING_H #define MAPPING_H #include "svalue.h" #include "block_alloc_h.h" /* Compatible with PIKE_WEAK_INDICES and PIKE_WEAK_VALUES. */ #define MAPPING_WEAK_INDICES 2
pike.git/src/mapping.h:125:
struct svalue *key); PMOD_EXPORT struct svalue *low_mapping_string_lookup(struct mapping *m, struct pike_string *p); PMOD_EXPORT void mapping_string_insert(struct mapping *m, struct pike_string *p, struct svalue *val); PMOD_EXPORT void mapping_string_insert_string(struct mapping *m, struct pike_string *p, struct pike_string *val); PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m,
-
char *p);
+
const
char *p);
PMOD_EXPORT struct svalue *mapping_mapping_lookup(struct mapping *m, struct svalue *key1, struct svalue *key2, int create); PMOD_EXPORT struct svalue *mapping_mapping_string_lookup(struct mapping *m, struct pike_string *key1, struct pike_string *key2, int create); PMOD_EXPORT void mapping_index_no_free(struct svalue *dest, struct mapping *m,