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.347 2008/07/09 20:26:34 mast Exp $ + || $Id: pike_types.c,v 1.348 2008/07/09 20:43:45 mast Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:7005:    push_type(T_MANY);    return pop_unfinished_type();    }   /* This error is bogus /Hubbe    Pike_fatal("zzap_function_return() called with unexpected value: %d\n",    EXTRACT_UCHAR(a));   */    return NULL;   }    - struct pike_type *get_type_of_svalue(struct svalue *s) + struct pike_type *get_type_of_svalue(const struct svalue *s)   {    struct pike_type *ret;    switch(s->type)    {    case T_FUNCTION:    if(s->subtype == FUNCTION_BUILTIN)    {    copy_pike_type(ret, s->u.efun->type);    }else{    struct program *p;