pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:41:      #ifdef PIKE_TYPE_DEBUG   static int indent=0;   #endif      int max_correct_args;      PMOD_EXPORT struct pike_type *string0_type_string;   PMOD_EXPORT struct pike_type *string_type_string;   PMOD_EXPORT struct pike_type *int_type_string; - PMOD_EXPORT struct pike_type *int0_type_string; +    PMOD_EXPORT struct pike_type *int_pos_type_string;   PMOD_EXPORT struct pike_type *float_type_string;   PMOD_EXPORT struct pike_type *function_type_string;   PMOD_EXPORT struct pike_type *void_function_type_string;   PMOD_EXPORT struct pike_type *object_type_string;   PMOD_EXPORT struct pike_type *program_type_string;   PMOD_EXPORT struct pike_type *array_type_string;   PMOD_EXPORT struct pike_type *multiset_type_string;   PMOD_EXPORT struct pike_type *mapping_type_string;   PMOD_EXPORT struct pike_type *type_type_string;
pike.git/src/pike_types.cmod:75:   PMOD_EXPORT struct pike_string *literal_float_string;   PMOD_EXPORT struct pike_string *literal_function_string;   PMOD_EXPORT struct pike_string *literal_object_string;   PMOD_EXPORT struct pike_string *literal_program_string;   PMOD_EXPORT struct pike_string *literal_array_string;   PMOD_EXPORT struct pike_string *literal_multiset_string;   PMOD_EXPORT struct pike_string *literal_mapping_string;   PMOD_EXPORT struct pike_string *literal_type_string;   PMOD_EXPORT struct pike_string *literal_mixed_string;    + /* Special case for converting T_ZERO into int(0) during processing. +  * Note that int(0) is usually automatically converted into T_ZERO, +  * so we need to define the type by hand explicitly here. +  */ + static struct pike_type int0_type_string_storage = { +  GC_HEADER_INIT(1), +  0, +  NULL, +  0, +  T_INT, +  NULL, NULL, + }; + #define int0_type_string (&int0_type_string_storage)      #ifdef DO_PIKE_CLEANUP   struct pike_type_location *all_pike_type_locations = NULL;   #endif /* DO_PIKE_CLEANUP */      static struct pike_type *a_markers[10], *b_markers[10];      static struct program *implements_a;   static struct program *implements_b;   static int implements_mode;