lib: make bt_value_map_foreach_entry_{const_}func() return a status code
[babeltrace.git] / include / babeltrace2 / func-status.h
index 0f1829af8e7e17fcba6d1c1755ad0665371498dd..444b219ec2228433fbc754172ea5aa70f1f0f508 100644 (file)
 # define __BT_FUNC_STATUS_MEMORY_ERROR         -12
 #endif
 
+/* User function error */
+#ifndef __BT_FUNC_STATUS_USER_ERROR
+# define __BT_FUNC_STATUS_USER_ERROR           -2
+#endif
+
 /* General error */
 #ifndef __BT_FUNC_STATUS_ERROR
 # define __BT_FUNC_STATUS_ERROR                        -1
This page took 0.022812 seconds and 4 git commands to generate.