pike.git / src / pike_types.h

version» Context lines:

pike.git/src/pike_types.h:175:   #define CALL_ARG_LVALUE 0x0010 /* Argument is lvalue (sscanf). */   #define CALL_INHIBIT_WARNINGS 0x0020 /* Inhibit warnings. */   #define CALL_INVERTED_TYPES 0x0040 /* The fun and arg are inverted. */      /*    * soft_cast() flags    */   #define SOFT_WEAKER 0x0001 /* Soft cast to a weaker type. */      void debug_free_type(struct pike_type *t); - #ifdef DEBUG_MALLOC - #define copy_pike_type(D, S) add_ref((struct pike_type *)debug_malloc_pass(D = (S))) - #else /* !DEBUG_MALLOC */ - #define copy_pike_type(D, S) add_ref(D = (S)) - #endif /* DEBUG_MALLOC */ + #define copy_pike_type(D, S) \ +  safe_add_ref(D = (struct pike_type *)debug_malloc_pass(S))   #define CONSTTYPE(X) make_pike_type(X)      extern struct pike_type **type_stack;   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) \