bindings/python/bt2: Make the bt2 Python bindings build
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Apr 2019 15:17:23 +0000 (11:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:39 +0000 (18:19 -0400)
commit6fa6bfa10689f232697a096f42206c176178d798
tree2e1bee7011a591a9e2d1ac6a6e8eca7ff1950cc3
parent038be9903108fbf49bef18e6f6bd6936e8fabde8
bindings/python/bt2: Make the bt2 Python bindings build

This patch is just a little bit more than the bare minimum to make the
Python bindings build (that is, configure with --enable-python-bindings
and build).  It consists of sync'ing the .i SWIG interface definition
files with the corresponding headers.  It's possible that the interfaces
are incomplete, in which case they'll be adjusted in the a later pass.
For example, output parameters are currently not named in a way that
match the type maps.

For simplicity, I have included at the same time some other changes to
the .i files, such as adjusting the typemap definitions (in
native_bt.i).  The helper functions (such as at the bottom of
native_bt_componentclass.i) are also changed to the "final" form they
have on my development branch.  Even though these are not immediatly used,
they need to be changed for the bindings to build.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I87a438a692690639f956b214f878df65885ed78c
50 files changed:
bindings/python/bt2/Makefile.am
bindings/python/bt2/bt2/native_bt.i
bindings/python/bt2/bt2/native_bt_clock_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_clock_snapshot.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_component.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_component_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_connection.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_event.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_event_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_field.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_field_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_field_path.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_graph.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_logging.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_message.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_notifier.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_packet.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_plugin.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_port.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_query_exec.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_stream.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_stream_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_trace.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_trace_class.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_value.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_bt_version.i [new file with mode: 0644]
bindings/python/bt2/bt2/native_btccpriomap.i [deleted file]
bindings/python/bt2/bt2/native_btclockclass.i [deleted file]
bindings/python/bt2/bt2/native_btcomponent.i [deleted file]
bindings/python/bt2/bt2/native_btcomponentclass.i [deleted file]
bindings/python/bt2/bt2/native_btconnection.i [deleted file]
bindings/python/bt2/bt2/native_btctfwriter.i [deleted file]
bindings/python/bt2/bt2/native_btevent.i [deleted file]
bindings/python/bt2/bt2/native_bteventclass.i [deleted file]
bindings/python/bt2/bt2/native_btfields.i [deleted file]
bindings/python/bt2/bt2/native_btft.i [deleted file]
bindings/python/bt2/bt2/native_btgraph.i [deleted file]
bindings/python/bt2/bt2/native_btlogging.i [deleted file]
bindings/python/bt2/bt2/native_btnotification.i [deleted file]
bindings/python/bt2/bt2/native_btnotifiter.i [deleted file]
bindings/python/bt2/bt2/native_btpacket.i [deleted file]
bindings/python/bt2/bt2/native_btplugin.i [deleted file]
bindings/python/bt2/bt2/native_btport.i [deleted file]
bindings/python/bt2/bt2/native_btqueryexec.i [deleted file]
bindings/python/bt2/bt2/native_btref.i [deleted file]
bindings/python/bt2/bt2/native_btstream.i [deleted file]
bindings/python/bt2/bt2/native_btstreamclass.i [deleted file]
bindings/python/bt2/bt2/native_bttrace.i [deleted file]
bindings/python/bt2/bt2/native_btvalues.i [deleted file]
bindings/python/bt2/bt2/native_btversion.i [deleted file]
This page took 0.028731 seconds and 4 git commands to generate.