From: Robert Kessl Date: Thu, 24 Jul 2014 07:32:00 +0000 (+0200) Subject: tableprinter: TBL_COL_CUSTOM renamed to TBL_COL_XTYPE X-Git-Tag: v6.1~3^2~54 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8c8404d2f857a6142fd6fa9c4a70c432ac3762fd;p=libucw.git tableprinter: TBL_COL_CUSTOM renamed to TBL_COL_XTYPE --- diff --git a/ucw/table.h b/ucw/table.h index 7c9c85e7..91a26d43 100644 --- a/ucw/table.h +++ b/ucw/table.h @@ -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 }