diff options
author | Igor Gnatenko | 2016-01-24 23:52:41 +0100 |
---|---|---|
committer | Igor Gnatenko | 2016-01-25 00:12:14 +0100 |
commit | db307d8e968bd325a014b30eb33227ae9c14f7f1 (patch) | |
tree | 9eb4c4b8f1610680c08dde9c85359232ec2ba61a | |
parent | libsmartcols: add few methods to get information about title (diff) | |
download | kernel-qcow2-util-linux-db307d8e968bd325a014b30eb33227ae9c14f7f1.tar.gz kernel-qcow2-util-linux-db307d8e968bd325a014b30eb33227ae9c14f7f1.tar.xz kernel-qcow2-util-linux-db307d8e968bd325a014b30eb33227ae9c14f7f1.zip |
libsmartcols: add 'Since' tag for gtkdoc for some functions
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
-rw-r--r-- | libsmartcols/docs/libsmartcols-docs.xml | 4 | ||||
-rw-r--r-- | libsmartcols/src/line.c | 6 | ||||
-rw-r--r-- | libsmartcols/src/symbols.c | 2 | ||||
-rw-r--r-- | libsmartcols/src/table.c | 4 |
4 files changed, 14 insertions, 2 deletions
diff --git a/libsmartcols/docs/libsmartcols-docs.xml b/libsmartcols/docs/libsmartcols-docs.xml index d8156638b..e4b6a1353 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/. <title>API Index</title> <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include> </index> + <index role="2.28"> + <title>Index of new symbols in 2.28</title> + <xi:include href="xml/api-index-2.28.xml"><xi:fallback /></xi:include> + </index> </book> diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c index b80ad675f..93cd09b99 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 cdf06ab66..f74327c7d 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 933379f65..a2b8fbe25 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) { |