projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: strictly type function return status enumerations
[babeltrace.git]
/
include
/
babeltrace2
/
graph
/
graph-const.h
diff --git
a/include/babeltrace2/graph/graph-const.h
b/include/babeltrace2/graph/graph-const.h
index 97672b7b905abd402791dd4449c0c28f21590804..34abb3b5f4057eed2a7199cba5b7e8c0fb042fda 100644
(file)
--- a/
include/babeltrace2/graph/graph-const.h
+++ b/
include/babeltrace2/graph/graph-const.h
@@
-31,15
+31,6
@@
extern "C" {
#endif
extern "C" {
#endif
-typedef enum bt_graph_status {
- BT_GRAPH_STATUS_OK = 0,
- BT_GRAPH_STATUS_END = 1,
- BT_GRAPH_STATUS_AGAIN = 11,
- BT_GRAPH_STATUS_CANCELED = 125,
- BT_GRAPH_STATUS_ERROR = -1,
- BT_GRAPH_STATUS_NOMEM = -12,
-} bt_graph_status;
-
extern bt_bool bt_graph_is_canceled(const bt_graph *graph);
extern void bt_graph_get_ref(const bt_graph *graph);
extern bt_bool bt_graph_is_canceled(const bt_graph *graph);
extern void bt_graph_get_ref(const bt_graph *graph);
This page took
0.024934 seconds
and
4
git commands to generate.