include/xot/string.h in xot-0.1.3 vs include/xot/string.h in xot-0.1.4

- old
+ new

@@ -23,6 +23,21 @@ }// Xot +#define XOT_STRINGF(format, result) \ + Xot::String result; \ + do \ + { \ + if (format) \ + { \ + va_list args; \ + va_start(args, format); \ + result = Xot::stringf(format, args); \ + va_end(args); \ + } \ + } \ + while (false) + + #endif//EOH