X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fnative_btstream.i;fp=bindings%2Fpython%2Fbt2%2Fnative_btstream.i;h=39747bc7c92a474faff5e0fe23ee4c00a491a6ce;hp=91d4dd8222137ae7d526f2293371accd4d17426f;hb=811644b8fe5fb9946972a7ace9df02ed872f448a;hpb=c92fb666a258aa91f1a5754cd6e32c96783cd80b diff --git a/bindings/python/bt2/native_btstream.i b/bindings/python/bt2/native_btstream.i index 91d4dd82..39747bc7 100644 --- a/bindings/python/bt2/native_btstream.i +++ b/bindings/python/bt2/native_btstream.i @@ -22,10 +22,6 @@ * THE SOFTWARE. */ -%{ -#include -%} - /* Type */ struct bt_ctf_stream; @@ -33,6 +29,10 @@ struct bt_ctf_stream; struct bt_ctf_stream *bt_ctf_stream_create( struct bt_ctf_stream_class *stream_class, const char *name); +struct bt_ctf_stream *bt_ctf_stream_create_with_id( + struct bt_ctf_stream_class *stream_class, + const char *name, uint64_t id); const char *bt_ctf_stream_get_name(struct bt_ctf_stream *stream); +int64_t bt_ctf_stream_get_id(struct bt_ctf_stream *stream); struct bt_ctf_stream_class *bt_ctf_stream_get_class( struct bt_ctf_stream *stream);