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.97 1999/12/15 15:44:27 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.98 1999/12/15 17:04:13 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:65:      struct pike_string *string_type_string;   struct pike_string *int_type_string;   struct pike_string *float_type_string;   struct pike_string *function_type_string;   struct pike_string *object_type_string;   struct pike_string *program_type_string;   struct pike_string *array_type_string;   struct pike_string *multiset_type_string;   struct pike_string *mapping_type_string; + struct pike_string *type_type_string;   struct pike_string *mixed_type_string;   struct pike_string *void_type_string;   struct pike_string *zero_type_string;   struct pike_string *any_type_string;   struct pike_string *weak_type_string; /* array|mapping|multiset|function */      static struct pike_string *a_markers[10],*b_markers[10];      static void clear_markers(void)   {
pike.git/src/pike_types.c:117:    string_type_string = CONSTTYPE(tString);    int_type_string = CONSTTYPE(tInt);    object_type_string = CONSTTYPE(tObj);    program_type_string = CONSTTYPE(tPrg);    float_type_string = CONSTTYPE(tFloat);    mixed_type_string=CONSTTYPE(tMix);    array_type_string=CONSTTYPE(tArray);    multiset_type_string=CONSTTYPE(tMultiset);    mapping_type_string=CONSTTYPE(tMapping);    function_type_string=CONSTTYPE(tFunction); +  type_type_string=CONSTTYPE(tType);    void_type_string=CONSTTYPE(tVoid);    zero_type_string=CONSTTYPE(tZero);    any_type_string=CONSTTYPE(tOr(tVoid,tMix));    weak_type_string=CONSTTYPE(tOr4(tArray,tMultiset,tMapping,    tFunc(tNone,tMix)));   }      static int type_length(char *t)   {    char *q=t;
pike.git/src/pike_types.c:3174:   {    free_string(string_type_string);    free_string(int_type_string);    free_string(float_type_string);    free_string(function_type_string);    free_string(object_type_string);    free_string(program_type_string);    free_string(array_type_string);    free_string(multiset_type_string);    free_string(mapping_type_string); +  free_string(type_type_string);    free_string(mixed_type_string);    free_string(void_type_string);    free_string(zero_type_string);    free_string(any_type_string);    free_string(weak_type_string);   }         int type_may_overload(char *type, int lfun)   {