Python bindings: work around Python 3.5 behaviour change
[babeltrace.git] / bindings / python / python-complements.h
index a85f3e52c578b6c9961c4913da9f2a8fb52c5794..bd2259805cd9b4b15172a52e0b557f435c92266d 100644 (file)
@@ -26,6 +26,7 @@
 #include <babeltrace/ctf/events.h>
 #include <babeltrace/iterator-internal.h>
 #include <babeltrace/ctf/events-internal.h>
+#include <babeltrace/ctf-writer/event-fields.h>
 
 /* File */
 FILE *_bt_file_open(char *file_path, char *mode);
@@ -60,3 +61,16 @@ struct definition_array *_bt_python_get_array_from_def(
                struct bt_definition *field);
 struct definition_sequence *_bt_python_get_sequence_from_def(
                struct bt_definition *field);
+struct bt_declaration *_bt_python_get_array_element_declaration(
+               struct bt_declaration *field);
+struct bt_declaration *_bt_python_get_sequence_element_declaration(
+               struct bt_declaration *field);
+const char *_bt_python_get_array_string(struct bt_definition *field);
+const char *_bt_python_get_sequence_string(struct bt_definition *field);
+
+/* ctf writer */
+int _bt_python_field_integer_get_signedness(const struct bt_ctf_field *field);
+enum ctf_type_id _bt_python_get_field_type(const struct bt_ctf_field *field);
+
+/* iterator */
+struct bt_iter_pos *_bt_python_create_iter_pos(void);
This page took 0.0245 seconds and 4 git commands to generate.