From: Jérémie Galarneau Date: Wed, 16 Jan 2013 22:57:09 +0000 (-0500) Subject: Fix: Python bindings build fix. Reflects SEEK_END API change. X-Git-Tag: v1.2.0-rc1~88 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=ef42f9eb514872c428122b3d0e04e1126f8d8f55 Fix: Python bindings build fix. Reflects SEEK_END API change. Signed-off-by: Jérémie Galarneau Signed-off-by: Mathieu Desnoyers --- diff --git a/bindings/python/babeltrace.i.in b/bindings/python/babeltrace.i.in index c8e49230..b693f021 100644 --- a/bindings/python/babeltrace.i.in +++ b/bindings/python/babeltrace.i.in @@ -245,8 +245,7 @@ struct bt_iter_pos *bt_iter_create_time_pos(struct bt_iter *iter, uint64_t times %rename("SEEK_RESTORE") BT_SEEK_RESTORE; %rename("SEEK_CUR") BT_SEEK_CUR; %rename("SEEK_BEGIN") BT_SEEK_BEGIN; -%rename("SEEK_END") BT_SEEK_END; - +%rename("SEEK_LAST") BT_SEEK_LAST; // This struct is taken from iterator.h // All changes to the struct must also be made here @@ -256,7 +255,7 @@ struct bt_iter_pos { BT_SEEK_RESTORE, /* uses u.restore */ BT_SEEK_CUR, BT_SEEK_BEGIN, - BT_SEEK_END, + BT_SEEK_LAST } type; union { uint64_t seek_time;