Document libbabeltrace2's C API
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_component.i
index 33b3a7f637f6ec28085f118a8d12a2d239c629cb..aa3f725213dd21bf0a1e11f61eb2841eb61c11d9 100644 (file)
  * we reflect that here.
  */
 %typemap(argout) void *user_data {
-       if (PyLong_AsLong($result) == BT_SELF_COMPONENT_STATUS_OK) {
+       if (PyLong_AsLong($result) == __BT_FUNC_STATUS_OK) {
                Py_INCREF($1);
        }
 }
 
-%include <babeltrace2/graph/component-const.h>
-%include <babeltrace2/graph/component-source-const.h>
-%include <babeltrace2/graph/component-filter-const.h>
-%include <babeltrace2/graph/component-sink-const.h>
+%include <babeltrace2/graph/component.h>
 %include <babeltrace2/graph/self-component.h>
-%include <babeltrace2/graph/self-component-source.h>
-%include <babeltrace2/graph/self-component-filter.h>
-%include <babeltrace2/graph/self-component-sink.h>
 
 /*
  * This type map relies on the rather common "user_data" name, so don't pollute
This page took 0.02488 seconds and 4 git commands to generate.