]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: add 'Since' tag for gtkdoc for some functions
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sun, 24 Jan 2016 22:52:41 +0000 (23:52 +0100)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sun, 24 Jan 2016 23:12:14 +0000 (00:12 +0100)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
libsmartcols/docs/libsmartcols-docs.xml
libsmartcols/src/line.c
libsmartcols/src/symbols.c
libsmartcols/src/table.c

index d8156638bfe82b2dd33b662bb6f1151974c5fd92..e4b6a13534d468d2d3e2bae5ef9e24b3dccec8a0 100644 (file)
@@ -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>
index b80ad675ff0ecf9e7491eaacb60e6ba5dfe73261..93cd09b9923d2ee7b8a2035bb218cb38f18db810 100644 (file)
@@ -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;
 }
-
-
index cdf06ab6611d770fe9f8d6c89a9d9840be527b87..f74327c7dcc4a1a9fc3ccb1d63a74dcb1645ac4b 100644 (file)
@@ -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)
 {
index 933379f652281f5e571e9e17ead00113a1e855d2..a2b8fbe251e954bdad6fe39de3a291c065e6d689 100644 (file)
@@ -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)
 {