]> mj.ucw.cz Git - libucw.git/commitdiff
Merge remote-tracking branch 'origin/master'
authorRobert Kessl <kesslr@centrum.cz>
Mon, 16 Jun 2014 06:36:09 +0000 (08:36 +0200)
committerRobert Kessl <kesslr@centrum.cz>
Mon, 16 Jun 2014 06:36:09 +0000 (08:36 +0200)
maint/libucw.abi
ucw/mempool.h
ucw/strtonum.h
ucw/table.h

index b4fbcd0c04da5794dbfb7e7d40b015a74397c90d..14d7666af87faeb5df5d6225bf11eecaeca95396 100644 (file)
@@ -365,6 +365,7 @@ mp_delete
 mp_flush
 mp_stats
 mp_total_size
+mp_shrink
 mp_alloc_internal
 mp_alloc
 mp_alloc_noalign
@@ -497,8 +498,45 @@ str_hier_suffix
 # ucw/strtonum.h
 str_to_uintmax
 str_to_uint
-# FIXME
 str_to_uns
+# ucw/table.h
+table_init
+table_cleanup
+table_start
+table_end
+table_set_col_order
+table_set_col_order_by_name
+table_end_row
+table_col_printf
+table_append_printf
+table_get_col_idx
+table_get_col_list
+table_col_fbstart
+table_col_fbend
+table_set_formatter
+table_fmt_human_readable
+table_fmt_machine_readable
+table_set_option
+table_set_option_value
+table_set_gary_options
+table_col_int
+table_col_uint
+table_col_double
+table_col_str
+table_col_intmax
+table_col_uintmax
+table_col_u64
+table_col_bool
+table_col_bool_name
+table_col_bool_fmt
+table_append_int
+table_append_uint
+table_append_double
+table_append_str
+table_append_intmax
+table_append_uintmax
+table_append_u64
+table_append_bool
 # ucw/tbf.h
 tbf_init
 tbf_limit
index f819a0f1e50a06c9af0ca8ea185029044bcad9ae..ee6db64d6b89783928e267cb3fe0f7d4f97fee91 100644 (file)
@@ -35,6 +35,7 @@
 #define mp_realloc ucw_mp_realloc
 #define mp_realloc_zero ucw_mp_realloc_zero
 #define mp_restore ucw_mp_restore
+#define mp_shrink ucw_mp_shrink
 #define mp_spread_internal ucw_mp_spread_internal
 #define mp_start ucw_mp_start
 #define mp_start_internal ucw_mp_start_internal
index d33c35fc65860f7af349397ca0f0044eee20cbd2..085bd0b02ac07fdeb06a7529fca61c81ab53bc81 100644 (file)
 #define _STRTONUM_H
 
 #ifdef CONFIG_UCW_CLEAN_ABI
-#define str_to_uintmax ucw_str_to_uintmax
 #define str_to_uint ucw_str_to_uint
-
-// FIXME: For backwards compatibility, will be removed soon
+#define str_to_uintmax ucw_str_to_uintmax
 #define str_to_uns ucw_str_to_uns
 #endif
 
index 7aa1d5b13be3157a94cf54166421676b4b45e9d8..bf62a58781e149ce075fa5ed3fcb5c1150c5f82a 100644 (file)
 #include <ucw/fastbuf.h>
 #include <ucw/mempool.h>
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define table_append_bool ucw_table_append_bool
+#define table_append_double ucw_table_append_double
+#define table_append_int ucw_table_append_int
+#define table_append_intmax ucw_table_append_intmax
+#define table_append_printf ucw_table_append_printf
+#define table_append_str ucw_table_append_str
+#define table_append_u64 ucw_table_append_u64
+#define table_append_uint ucw_table_append_uint
+#define table_append_uintmax ucw_table_append_uintmax
+#define table_cleanup ucw_table_cleanup
+#define table_col_bool ucw_table_col_bool
+#define table_col_bool_fmt ucw_table_col_bool_fmt
+#define table_col_bool_name ucw_table_col_bool_name
+#define table_col_double ucw_table_col_double
+#define table_col_fbend ucw_table_col_fbend
+#define table_col_fbstart ucw_table_col_fbstart
+#define table_col_int ucw_table_col_int
+#define table_col_intmax ucw_table_col_intmax
+#define table_col_printf ucw_table_col_printf
+#define table_col_str ucw_table_col_str
+#define table_col_u64 ucw_table_col_u64
+#define table_col_uint ucw_table_col_uint
+#define table_col_uintmax ucw_table_col_uintmax
+#define table_end ucw_table_end
+#define table_end_row ucw_table_end_row
+#define table_fmt_human_readable ucw_table_fmt_human_readable
+#define table_fmt_machine_readable ucw_table_fmt_machine_readable
+#define table_get_col_idx ucw_table_get_col_idx
+#define table_get_col_list ucw_table_get_col_list
+#define table_init ucw_table_init
+#define table_set_col_order ucw_table_set_col_order
+#define table_set_col_order_by_name ucw_table_set_col_order_by_name
+#define table_set_formatter ucw_table_set_formatter
+#define table_set_gary_options ucw_table_set_gary_options
+#define table_set_option ucw_table_set_option
+#define table_set_option_value ucw_table_set_option_value
+#define table_start ucw_table_start
+#endif
+
 enum column_type {
   COL_TYPE_STR,
   COL_TYPE_INT,