pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c: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.   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.150 2001/02/25 13:37:50 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.151 2001/02/25 15:03:18 grubba 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:1064:   void my_describe_type(struct pike_type *type)   {    low_describe_type(type->str);   }      struct pike_string *describe_type(struct pike_type *type)   {    check_type_string(type);    if(!type) return make_shared_string("mixed");    init_buf(); -  my_describe_type(type->str); +  my_describe_type(type);    return free_buf();   }      static int low_is_same_type(char *a, char *b)   {    if(type_length(a) != type_length(b)) return 0;    return !MEMCMP(a,b,type_length(a));   }      static TYPE_T low_compile_type_to_runtime_type(char *t)