/*
- * UCW Library -- Test of Tableprinter Types
+ * UCW Library -- Test of Extended Types
*
* (c) 2014 Robert Kessl <robert.kessl@economia.cz>
*
#include <ucw/lib.h>
#include <ucw/mempool.h>
#include <ucw/xtypes.h>
-#include <ucw/table-types.h>
+#include <ucw/xtypes-extra.h>
#include <errno.h>
#include <stdlib.h>
die("xt_size.parse parsed an incorrect value.");
}
- const char *result_str = xt_size.format(&result, i | SIZE_UNITS_FIXED, pool);
+ const char *result_str = xt_size.format(&result, XT_SIZE_FMT_UNIT(i), pool);
bprintf(out, "%s %s\n", size_strs[i], result_str);
i++;