pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c: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.c,v 1.177 2004/03/16 14:09:23 mast Exp $ + || $Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.177 2004/03/16 14:09:23 mast Exp $"); + RCSID("$Id: mapping.c,v 1.178 2004/03/22 19:35:44 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"   #include "interpret.h"
pike.git/src/mapping.c:1086:    struct pike_string *p,    struct pike_string *val)   {    struct svalue tmp;    tmp.type=T_STRING;    tmp.u.string=val;    mapping_string_insert(m, p, &tmp);   }      PMOD_EXPORT struct svalue *simple_mapping_string_lookup(struct mapping *m, -  char *p) +  const char *p)   {    struct pike_string *tmp;    if((tmp=findstring(p)))    return low_mapping_string_lookup(m,tmp);    return 0;   }      PMOD_EXPORT struct svalue *mapping_mapping_lookup(struct mapping *m,    struct svalue *key1,    struct svalue *key2,