pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:40:   #define PIKE_TYPE_HASH_SIZE 32767      #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 *bool_type_string;   PMOD_EXPORT struct pike_type *int_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;
pike.git/src/pike_types.cmod:15099:    if( !type_stack )    type_stack = xalloc(sizeof(struct pike_type *)*PIKE_TYPE_STACK_SIZE);    if( !pike_type_mark_stack )    pike_type_mark_stack = xalloc(sizeof(struct pike_type *)*PIKE_TYPE_STACK_SIZE / 4);       Pike_compiler->type_stackp = type_stack;    Pike_compiler->pike_type_mark_stackp = pike_type_mark_stack;       type_stack_mark(); /* Type stack marker sentinel. */    +  bool_type_string = CONSTTYPE(tInt01);    int_type_string = CONSTTYPE(tInt); /* MUST come before string and array! */    int_pos_type_string = CONSTTYPE(tIntPos);    string0_type_string = CONSTTYPE(tStr0);    string_type_string = CONSTTYPE(tStr32);    object_type_string = CONSTTYPE(tObj);    program_type_string = CONSTTYPE(tPrg(tObj));    float_type_string = CONSTTYPE(tFloat);    mixed_type_string = CONSTTYPE(tMix);    array_type_string = CONSTTYPE(tArray);    multiset_type_string = CONSTTYPE(tMultiset);
pike.git/src/pike_types.cmod:15188:    free( type_stack );    free( pike_type_mark_stack );   #endif /* DO_PIKE_CLEANUP */       clear_markers();       free_type(string0_type_string);    string0_type_string = NULL;    free_type(string_type_string);    string_type_string = NULL; +  free_type(bool_type_string); +  bool_type_string = NULL;    free_type(int_type_string);    int_type_string = NULL;    free_type(int_pos_type_string);    int_pos_type_string = NULL;    free_type(float_type_string);    float_type_string = NULL;    free_type(void_function_type_string);    void_function_type_string = NULL;    free_type(function_type_string);    function_type_string = NULL;