pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:124:   #define GET_MSG_DEPTH _msg_depth   #define INC_MSG_DEPTH() (++_msg_depth)   #define DEC_MSG_DEPTH() (--_msg_depth)   #endif      #endif      #ifdef RESOLV_DEBUG      #define GET_RESOLV_MSG_DEPTH GET_MSG_DEPTH - #define INC_RESOLV_MSG_DEPTH INC_MSG_DEPTH - #define DEC_RESOLV_MSG_DEPTH DEC_MSG_DEPTH + #define INC_RESOLV_MSG_DEPTH() INC_MSG_DEPTH() + #define DEC_RESOLV_MSG_DEPTH() DEC_MSG_DEPTH()      void resolv_debug (sprintf_format fmt, sprintf_args... args)   {    string pad = " " * GET_RESOLV_MSG_DEPTH;    if (sizeof (args)) fmt = sprintf (fmt, @args);    if (fmt[-1] == '\n')    fmt = pad + replace (fmt[..<1], "\n", "\n" + pad) + "\n";    else    fmt = pad + replace (fmt, "\n", "\n" + pad);    if (!werror) werror = Files()->_stderr->write;