Roxen.git / server / etc / include / module.h

version» Context lines:

Roxen.git/server/etc/include/module.h:1: - // $Id: module.h,v 1.54 2001/11/23 15:54:17 nilsson Exp $ + // -*- pike -*- + // + // $Id: module.h,v 1.55 2002/03/12 13:20:04 mast Exp $ +    #ifndef ROXEN_MODULE_H   #define ROXEN_MODULE_H   /* #include "config.h" */   #include <roxen.h>   // compat   #define QUERY(var) query( #var )      // Like query, but for global variables.   #ifdef IN_ROXEN   #define GLOBVAR(x) query( #x )
Roxen.git/server/etc/include/module.h:73:    ((value) ? (type && type != RXML.t_text ? type->encode ((value), RXML.t_text) : (value)) : RXML.nil)   #define ENCODE_RXML_XML(value, type) \    ((value) ? (type && type != RXML.t_xml ? type->encode ((value), RXML.t_xml) : (value)) : RXML.nil)      #if constant (thread_create)   # define RXML_CONTEXT (_cur_rxml_context->get())   #else   # define RXML_CONTEXT (_cur_rxml_context)   #endif    + // Debug macros. +  + #ifdef MODULE_DEBUG + # define DO_IF_MODULE_DEBUG(code...) code + #else + # define DO_IF_MODULE_DEBUG(code...)   #endif -  +  + #ifdef RXML_VERBOSE + # define TAG_DEBUG_TEST(test) 1 + #elif defined (RXML_REQUEST_VERBOSE) + # define TAG_DEBUG_TEST(test) \ +  ((test) || RXML_CONTEXT->id && RXML_CONTEXT->id->misc->rxml_verbose) + #else + # define TAG_DEBUG_TEST(test) (test) + #endif +  + #endif // !ROXEN_MODULE_H