pike.git / src / pike_types.h

version» Context lines:

pike.git/src/pike_types.h:190:   extern struct pike_type ***pike_type_mark_stack;      #define debug_free_type_preamble(T) do { \    debug_malloc_touch_named (T, "free_type"); \    DO_IF_DEBUG ( \    DO_IF_PIKE_CLEANUP ( \    if (gc_external_refs_zapped) \    gc_check_zapped (T, PIKE_T_TYPE, __FILE__, __LINE__))); \    } while (0)    - #define free_type(T) do { \ -  struct pike_type *t_ = (T); \ -  debug_free_type_preamble (t_); \ -  debug_free_type (t_); \ -  } while (0) + static inline void free_type(struct pike_type *t) + { +  debug_free_type_preamble(t); +  debug_free_type(t); + } + #define free_type(T) free_type(debug_malloc_pass(T))      #define free_pike_type free_type      extern int max_correct_args;   PMOD_EXPORT extern struct pike_type *string0_type_string;   PMOD_EXPORT extern struct pike_type *string_type_string;   PMOD_EXPORT extern struct pike_type *int_type_string;   PMOD_EXPORT extern struct pike_type *int_pos_type_string;   PMOD_EXPORT extern struct pike_type *float_type_string;   PMOD_EXPORT extern struct pike_type *object_type_string;