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.18 1997/03/08 12:54:08 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.19 1997/03/14 04:37:18 hubbe 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:1211:    case T_ARRAY: return "array";    case T_FLOAT: return "float";    case T_FUNCTION: return "function";    case T_INT: return "int";    case T_LVALUE: return "lvalue";    case T_MAPPING: return "mapping";    case T_MULTISET: return "multiset";    case T_OBJECT: return "object";    case T_PROGRAM: return "program";    case T_STRING: return "string"; +  case T_VOID: return "void";    default: return "unknown";    }   }      void cleanup_pike_types()   {    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(mixed_type_string);    free_string(void_type_string);    free_string(any_type_string);   }