[lttng-dev] [PATCH babeltrace 3/3] Fix: Removed Python bindings to static constructor and destructor.

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Jan 18 11:45:34 EST 2013


Resolves an undefined symbol on Python module load.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
 bindings/python/babeltrace.i.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bindings/python/babeltrace.i.in b/bindings/python/babeltrace.i.in
index d45afb0..dd49ba5 100644
--- a/bindings/python/babeltrace.i.in
+++ b/bindings/python/babeltrace.i.in
@@ -194,9 +194,6 @@ extern struct format *bt_lookup_format(bt_intern_str qname);
 extern void bt_fprintf_format_list(FILE *fp);
 extern int bt_register_format(struct format *format);
 
-void format_init(void);
-void format_finalize(void);
-
 %pythoncode %{
 
 def print_format_list(babeltrace_file):
-- 
1.8.1.1




More information about the lttng-dev mailing list