X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcore%2Futil%2Fdefines.hpp;h=25a7e03b94dec99b9518e6586f4fd1ce0818e068;hp=7e56b7d1f7958b2733d40d4ddcb79ffe3a36d77b;hb=1fd0c19880f48fd5d98dfce81dfed21147b4dfe3;hpb=5c20be7038fe63f4c23f7bd265d3c1fd97f84088 diff --git a/include/anna/core/util/defines.hpp b/include/anna/core/util/defines.hpp index 7e56b7d..25a7e03 100644 --- a/include/anna/core/util/defines.hpp +++ b/include/anna/core/util/defines.hpp @@ -20,6 +20,9 @@ // For cstd0x compatibility we will use stdint.h types instead of std:: ones on cstdint: //#include when C++11 available +// For xml representations (xml::Compiler and json::functions::json2xml) +#define ANNA_XML_INDENTATION_SPACES 3 + // Decoding helpers #define DECODE2BYTES_INDX_VALUETYPE(buffer,indx,value_type) ((((value_type)buffer[indx] << 8) & 0xFF00) + ((value_type)buffer[indx+1] & 0x00FF))