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.131 2000/06/24 00:48:13 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.132 2000/07/28 17:16:55 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:59:    * objects are coded thus:    * T_OBJECT <0/1> <program_id>    * ^    * 0 means 'implements'    * 1 means 'is' (aka 'clone of')    * Integers are encoded as:    * T_INT <min> <max>    * Everything except T_VOID matches T_ZERO.    */    - 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 */ + PMOD_EXPORT struct pike_string *string_type_string; + PMOD_EXPORT struct pike_string *int_type_string; + PMOD_EXPORT struct pike_string *float_type_string; + PMOD_EXPORT struct pike_string *function_type_string; + PMOD_EXPORT struct pike_string *object_type_string; + PMOD_EXPORT struct pike_string *program_type_string; + PMOD_EXPORT struct pike_string *array_type_string; + PMOD_EXPORT struct pike_string *multiset_type_string; + PMOD_EXPORT struct pike_string *mapping_type_string; + PMOD_EXPORT struct pike_string *type_type_string; + PMOD_EXPORT struct pike_string *mixed_type_string; + PMOD_EXPORT struct pike_string *void_type_string; + PMOD_EXPORT struct pike_string *zero_type_string; + PMOD_EXPORT struct pike_string *any_type_string; + PMOD_EXPORT struct pike_string *weak_type_string; /* array|mapping|multiset|function */      static struct pike_string *a_markers[10],*b_markers[10];      static struct program *implements_a;   static struct program *implements_b;      static void clear_markers(void)   {    unsigned int e;    for(e=0;e<NELEM(a_markers);e++)