Small fixes to include/
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 1 Apr 2019 16:17:43 +0000 (12:17 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
* Function bt_component_filter_borrow_from_self is declared, but does not
  actually exist.

* Parameters to bt_self_component_{get,set}_data are named "private",
  which is the old naming scheme.  Change that to self.

* bt_component_graph is typedef'ed to struct bt_component_graph, which
  doesn't actually exist.  struct bt_graph exists, and there's already a
  typedef for it.

include/babeltrace/graph/self-component-filter.h
include/babeltrace/graph/self-component.h
include/babeltrace/types.h

index 36ac696cd4507e162599934efb35f6d30bcc04ba..8d12e106e4ec36cc3c9856e5c912e4899b3520d1 100644 (file)
@@ -54,9 +54,6 @@ bt_self_component_filter_as_component_filter(
        return (const void *) self_comp_filter;
 }
 
-extern bt_component_filter *bt_component_filter_borrow_from_self(
-               bt_self_component_filter *self_component);
-
 extern bt_self_component_port_output *
 bt_self_component_filter_borrow_output_port_by_name(
                bt_self_component_filter *self_component,
index c11d8e456e8230646125e05898c2af05ded0bc90..65ff2e67de9853d0f3ec567e9ff41c2c310fa64b 100644 (file)
@@ -47,10 +47,10 @@ const bt_component *bt_self_component_as_component(
 }
 
 extern void *bt_self_component_get_data(
-               const bt_self_component *private_component);
+               const bt_self_component *self_component);
 
 extern void bt_self_component_set_data(
-               bt_self_component *private_component, void *data);
+               bt_self_component *self_component, void *data);
 
 #ifdef __cplusplus
 }
index 1805431c138d22f50c4549d2c1ca448a7e93096b..d8d9d311a721f7201d546d76e7f9c6a32979add9 100644 (file)
@@ -84,7 +84,6 @@ typedef struct bt_component_class_filter bt_component_class_filter;
 typedef struct bt_component_class_sink bt_component_class_sink;
 typedef struct bt_component_class_source bt_component_class_source;
 typedef struct bt_component_filter bt_component_filter;
-typedef struct bt_component_graph bt_component_graph;
 typedef struct bt_component_sink bt_component_sink;
 typedef struct bt_component_source bt_component_source;
 typedef struct bt_connection bt_connection;
This page took 0.025454 seconds and 5 git commands to generate.