[lttng-dev] [RFC patch] [Babeltrace python bindings] Added missing call to _bt_ctf_get_decl_from_def in get_int_len(), and defined ssize_t

Amit Margalit AMITM at il.ibm.com
Mon Aug 19 07:15:31 EDT 2013


In some systems, the system headers use ssize_t, which was not defined, 
causing get_int_len() to return a pointer to a python object instead of 
returning the integer.
Also, the python code that called _bt_ctf_get_int_len() failed to wrap 
self._d with the call to _bt_ctf_get_decl_from_def.

I'm attaching this patch to (hopefully) avoid line formatting issues.




Amit Margalit
IBM XIV - Storage Reinvented
XIV-NAS Development Team
Tel. 03-689-7774
Fax. 03-689-7230
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130819/dc3329e7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-missing-call-to-_bt_ctf_get_decl_from_def-in-g.patch
Type: application/octet-stream
Size: 1070 bytes
Desc: not available
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130819/dc3329e7/attachment.obj>


More information about the lttng-dev mailing list