Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / include / babeltrace / graph / port.h
index 7569961b8bd585f2be3385d7d9c39c32ea28c7e0..069daba1589dbdf95dfeb38a01eceede4322c4ad 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 #include <stdint.h>
-#include <stdbool.h>
+#include <babeltrace/types.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -58,13 +58,13 @@ extern int bt_port_disconnect(struct bt_port *port);
 extern int bt_port_is_connected(struct bt_port *port);
 
 static inline
-bool bt_port_is_input(struct bt_port *port)
+bt_bool bt_port_is_input(struct bt_port *port)
 {
        return bt_port_get_type(port) == BT_PORT_TYPE_INPUT;
 }
 
 static inline
-bool bt_port_is_output(struct bt_port *port)
+bt_bool bt_port_is_output(struct bt_port *port)
 {
        return bt_port_get_type(port) == BT_PORT_TYPE_OUTPUT;
 }
This page took 0.032345 seconds and 4 git commands to generate.