projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: standardize status of bt_util_clock_cycles_to_ns_from_origin()
[babeltrace.git]
/
include
/
babeltrace2
/
current-thread.h
diff --git
a/include/babeltrace2/current-thread.h
b/include/babeltrace2/current-thread.h
index 18da2513ff66be5670ec285594fc60b1242a802b..39c6ae228724d056eb5bcdf950e7ef1c5d27537f 100644
(file)
--- a/
include/babeltrace2/current-thread.h
+++ b/
include/babeltrace2/current-thread.h
@@
-89,6
+89,12
@@
bt_current_thread_error_append_cause_from_message_iterator(
bt_current_thread_error_append_cause_from_message_iterator( \
(_self_iter), __FILE__, __LINE__, (_msg_fmt), ##__VA_ARGS__)
bt_current_thread_error_append_cause_from_message_iterator( \
(_self_iter), __FILE__, __LINE__, (_msg_fmt), ##__VA_ARGS__)
+#define BT_CURRENT_THREAD_MOVE_ERROR_AND_RESET(_var) \
+ do { \
+ bt_current_thread_move_error(_var); \
+ (_var) = NULL; \
+ } while (0)
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.022985 seconds
and
4
git commands to generate.