Fix: Python bindings build fix. Reflects SEEK_END API change.
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 16 Jan 2013 22:57:09 +0000 (17:57 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 16 Jan 2013 22:57:09 +0000 (17:57 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
bindings/python/babeltrace.i.in

index c8e4923077fd0d95731d14cff97f3d84d039e204..b693f0210fda02d8e11e3044a41f9fe0b634b524 100644 (file)
@@ -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_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
 
 // 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_RESTORE,        /* uses u.restore */
                BT_SEEK_CUR,
                BT_SEEK_BEGIN,
-               BT_SEEK_END,
+               BT_SEEK_LAST
        } type;
        union {
                uint64_t seek_time;
        } type;
        union {
                uint64_t seek_time;
This page took 0.025181 seconds and 4 git commands to generate.