* [lttng-dev] [PATCH babeltrace] Fix: Python bindings build fix. Reflects SEEK_END API change.
@ 2013-01-16 17:53 Jérémie Galarneau
2013-01-16 22:59 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Jérémie Galarneau @ 2013-01-16 17:53 UTC (permalink / raw)
Signed-off-by: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
---
bindings/python/babeltrace.i.in | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bindings/python/babeltrace.i.in b/bindings/python/babeltrace.i.in
index c8e4923..b693f02 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;
--
1.8.1.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] [PATCH babeltrace] Fix: Python bindings build fix. Reflects SEEK_END API change.
2013-01-16 17:53 [lttng-dev] [PATCH babeltrace] Fix: Python bindings build fix. Reflects SEEK_END API change Jérémie Galarneau
@ 2013-01-16 22:59 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2013-01-16 22:59 UTC (permalink / raw)
* J?r?mie Galarneau (jeremie.galarneau at efficios.com) wrote:
>
> Signed-off-by: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
merged into bindings/python
Thanks!
Mathieu
> ---
> bindings/python/babeltrace.i.in | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/bindings/python/babeltrace.i.in b/bindings/python/babeltrace.i.in
> index c8e4923..b693f02 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;
> --
> 1.8.1.1
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-16 22:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16 17:53 [lttng-dev] [PATCH babeltrace] Fix: Python bindings build fix. Reflects SEEK_END API change Jérémie Galarneau
2013-01-16 22:59 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox