]> mj.ucw.cz Git - libucw.git/commitdiff
tableprinter: TBL_COL_CUSTOM renamed to TBL_COL_XTYPE
authorRobert Kessl <kesslr@centrum.cz>
Thu, 24 Jul 2014 07:32:00 +0000 (09:32 +0200)
committerRobert Kessl <kesslr@centrum.cz>
Thu, 24 Jul 2014 07:32:00 +0000 (09:32 +0200)
ucw/table.h

index 7c9c85e7de3fdcb8450a519f932417714785cff4..91a26d43ed817008fe501ad40fd3af73c92ee4e3 100644 (file)
@@ -189,7 +189,7 @@ struct table {
 #define TBL_COL_DOUBLE(_name, _width)         { .name = _name, .width = _width, .fmt = XTYPE_FMT_DEFAULT, .type_def = &xt_double }
 #define TBL_COL_BOOL(_name, _width)           { .name = _name, .width = _width, .fmt = XTYPE_FMT_DEFAULT, .type_def = &xt_bool }
 #define TBL_COL_ANY(_name, _width)            { .name = _name, .width = _width, .fmt = XTYPE_FMT_DEFAULT, .type_def = COL_TYPE_ANY }
-#define TBL_COL_CUSTOM(_name, _width, _xtype) { .name = _name, .width = _width, .fmt = XTYPE_FMT_DEFAULT, .type_def = _xtype }
+#define TBL_COL_XTYPE(_name, _width, _xtype)  { .name = _name, .width = _width, .fmt = XTYPE_FMT_DEFAULT, .type_def = _xtype }
 
 #define TBL_COL_STR_FMT(_name, _width, _fmt)            { .name = _name, .width = _width, .fmt = _fmt, .type_def = &xt_str }
 #define TBL_COL_INT_FMT(_name, _width, _fmt)            { .name = _name, .width = _width, .fmt = _fmt, .type_def = &xt_int }