pike.git / src / pike_types.h

version» Context lines:

pike.git/src/pike_types.h:215:   void type_stack_reverse(void);   struct pike_type *debug_peek_type_stack(void);   void debug_push_int_type(INT_TYPE min, INT_TYPE max);   void debug_push_object_type(int flag, INT32 id);   void debug_push_object_type_backwards(int flag, INT32 id);   void debug_push_type_attribute(struct pike_string *attr);   void debug_push_type_name(struct pike_string *name);   INT32 extract_type_int(char *p);   void debug_push_unfinished_type(char *s);   void debug_push_assign_type(int marker); - void debug_push_auto_typed_type(struct pike_type *type); +    void debug_push_finished_type(struct pike_type *type);   void debug_push_finished_type_backwards(struct pike_type *type);   void debug_push_scope_type(int level);   struct pike_type *debug_pop_unfinished_type(void);   void compiler_discard_type (void);   struct pike_type *debug_pop_type(void);   struct pike_type *debug_compiler_pop_type(void);   struct pike_type *parse_type(const char *s);   void stupid_describe_type(char *a, ptrdiff_t len);   void simple_describe_type(struct pike_type *s);
pike.git/src/pike_types.h:336:   #define pop_type_stack(E) do { debug_malloc_pass(debug_peek_type_stack()); debug_pop_type_stack(E); } while(0)   #define push_int_type(MIN,MAX) do { debug_push_int_type(MIN,MAX);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_object_type(FLAG,ID) do { debug_push_object_type(FLAG,ID);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_object_type_backwards(FLAG,ID) do { debug_push_object_type_backwards(FLAG,ID);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_scope_type(LEVEL) do { debug_push_scope_type(LEVEL);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_type_attribute(ATTR) do { debug_push_type_attribute((struct pike_string *)debug_malloc_pass(ATTR));debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_type_name(NAME) do { debug_push_type_name((struct pike_string *)debug_malloc_pass(NAME));debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_unfinished_type(S) ERROR   #define push_assign_type(MARKER) do { debug_push_assign_type(MARKER);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_finished_type(T) do { debug_push_finished_type((struct pike_type *)debug_malloc_pass(T));debug_malloc_pass(debug_peek_type_stack()); } while(0) - #define push_auto_typed_type(T) do { debug_push_auto_typed_type((struct pike_type *)debug_malloc_pass(T));debug_malloc_pass(debug_peek_type_stack()); } while(0) +    #define push_finished_type_with_markers(T,M,MS) do { debug_push_finished_type_with_markers((struct pike_type *)debug_malloc_pass(T),M,MS);debug_malloc_pass(debug_peek_type_stack()); } while(0)   #define push_finished_type_backwards(T) ERROR   #else   #define make_pike_type debug_make_pike_type   #define pop_type debug_pop_type   #define compiler_pop_type debug_compiler_pop_type   #define pop_unfinished_type debug_pop_unfinished_type   #define peek_type_stack debug_peek_type_stack   #define pop_type_stack debug_pop_type_stack   #define push_int_type debug_push_int_type   #define push_object_type debug_push_object_type   #define push_object_type_backwards debug_push_object_type_backwards   #define push_scope_type debug_push_scope_type - #define push_auto_typed_type debug_push_auto_typed_type +    #define push_type_attribute debug_push_type_attribute   #define push_type_name debug_push_type_name   #define push_unfinished_type debug_push_unfinished_type   #define push_assign_type debug_push_assign_type   #define push_finished_type debug_push_finished_type   #define push_finished_type_with_markers debug_push_finished_type_with_markers   #define push_finished_type_backwards debug_push_finished_type_backwards   #endif      #endif