pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.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: pike_types.c,v 1.219 2003/07/01 15:11:30 mast Exp $ + || $Id: pike_types.c,v 1.220 2003/08/04 16:46:37 mast Exp $   */      #include "global.h" - RCSID("$Id: pike_types.c,v 1.219 2003/07/01 15:11:30 mast Exp $"); + RCSID("$Id: pike_types.c,v 1.220 2003/08/04 16:46:37 mast Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"   #include "constants.h"   #include "object.h"   #include "multiset.h"
pike.git/src/pike_types.c:4668:    /* NOT_REACHED */    break;    }    /* NOT_REACHED */    return NULL;   }      /* Make a pike-type from a serialized (old-style) type. */   struct pike_type *debug_make_pike_type(const char *serialized_type)   { -  return low_make_pike_type((unsigned char *)serialized_type, -  (unsigned char **)&serialized_type); +  unsigned char *dummy; +  return low_make_pike_type((unsigned char *)serialized_type, &dummy);   }      int pike_type_allow_premature_toss(struct pike_type *type)   {    again:   #if 0    fprintf(stderr, "pike_type_allow_premature_toss(): Type: %d\n",    type->type);   #endif /* 0 */    switch(type->type)