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

version» Context lines:

Roxen.git/server/etc/include/module.h:1: - // $Id: module.h,v 1.50 2001/06/14 13:47:52 anders Exp $ + // $Id: module.h,v 1.51 2001/06/18 15:23:58 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:66:      #define ENCODE_RXML_INT(value, type) \    (type && type != RXML.t_int ? type->encode ((value), RXML.t_int) : (value))   #define ENCODE_RXML_FLOAT(value, type) \    ((value) ? (type && type != RXML.t_float ? type->encode ((value), RXML.t_float) : (value)) : RXML.nil)   #define ENCODE_RXML_TEXT(value, type) \    ((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 (RXML._cur_rxml_context->get()) + #else + # define RXML_CONTEXT (RXML._cur_rxml_context)   #endif -  +  + #endif