From: Igor Gnatenko Date: Sun, 24 Jan 2016 22:52:41 +0000 (+0100) Subject: libsmartcols: add 'Since' tag for gtkdoc for some functions X-Git-Tag: v2.28-rc1~166 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db307d8e968bd325a014b30eb33227ae9c14f7f1;p=thirdparty%2Futil-linux.git libsmartcols: add 'Since' tag for gtkdoc for some functions Signed-off-by: Igor Gnatenko --- diff --git a/libsmartcols/docs/libsmartcols-docs.xml b/libsmartcols/docs/libsmartcols-docs.xml index d8156638bf..e4b6a13534 100644 --- a/libsmartcols/docs/libsmartcols-docs.xml +++ b/libsmartcols/docs/libsmartcols-docs.xml @@ -49,4 +49,8 @@ available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. API Index + + Index of new symbols in 2.28 + + diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c index b80ad675ff..93cd09b992 100644 --- a/libsmartcols/src/line.c +++ b/libsmartcols/src/line.c @@ -394,6 +394,8 @@ int scols_line_set_data(struct libscols_line *ln, size_t n, const char *data) * The same as scols_line_set_data() but cell is referenced by column object. * * Returns: 0, a negative value in case of an error. + * + * Since: 2.28 */ int scols_line_set_column_data(struct libscols_line *ln, struct libscols_column *cl, @@ -428,6 +430,8 @@ int scols_line_refer_data(struct libscols_line *ln, size_t n, char *data) * The same as scols_line_refer_data() but cell is referenced by column object. * * Returns: 0, a negative value in case of an error. + * + * Since: 2.28 */ int scols_line_refer_column_data(struct libscols_line *ln, struct libscols_column *cl, @@ -474,5 +478,3 @@ err: scols_unref_line(ret); return NULL; } - - diff --git a/libsmartcols/src/symbols.c b/libsmartcols/src/symbols.c index cdf06ab661..f74327c7dc 100644 --- a/libsmartcols/src/symbols.c +++ b/libsmartcols/src/symbols.c @@ -151,6 +151,8 @@ int scols_symbols_set_right(struct libscols_symbols *sb, const char *str) * A multibyte chars are not supported yet. * * Returns: 0, a negative value in case of an error. + * + * Since: 2.28 */ int scols_symbols_set_title_padding(struct libscols_symbols *sb, const char *str) { diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c index 933379f652..a2b8fbe251 100644 --- a/libsmartcols/src/table.c +++ b/libsmartcols/src/table.c @@ -132,6 +132,8 @@ int scols_table_set_name(struct libscols_table *tb, const char *name) * The table title is used to print header of table. * * Returns: 0, a negative number in case of an error. + * + * Since: 2.28 */ int scols_table_set_title(struct libscols_table *tb, const char *title, unsigned int position, const char *color) { @@ -939,6 +941,8 @@ int scols_table_enable_maxout(struct libscols_table *tb, int enable) * Never continue on next line, remove last column(s) when too large, truncate last column. * * Returns: 0 on success, negative number in case of an error. + * + * Since: 2.28 */ int scols_table_enable_nowrap(struct libscols_table *tb, int enable) {