[lttng-dev] [RFC patch 3/3] [Babeltrace python bindings] Added missing typedef of ssize_t to babeltrace.i.in

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Aug 20 12:17:47 EDT 2013


On Tue, Aug 20, 2013 at 3:58 AM, Amit Margalit <AMITM at il.ibm.com> wrote:
> The file babeltrace.i.in contains a declaration of bt_get_int_len()
> returning ssize_t, which SWIG does not recognize as an integer (perhaps only
> in some cases).
> Adding a typedef causes generation of correct code.
>
> Jérémie, perhaps your suggestion to solve this in config time is better, so
> I would leave this to your discretion.
>

Thanks for clarifying the problem in your previous e-mail. The
generated code, albeit ugly, works fine (unless I'm missing
something). I am tempted to leave it as is until we implement the
proper fix.

Thanks,
Jérémie

>
>
> Thanks,
>
> Amit Margalit
> IBM XIV - Storage Reinvented
> XIV-NAS Development Team
> Tel. 03-689-7774
> Fax. 03-689-7230
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list