* 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