From: jeremie.galarneau@efficios.com (Jérémie Galarneau)
Subject: [lttng-dev] [PATCH babeltrace 2/3] Fix: Python 3 binding compatibility and clean intermediate files.
Date: Fri, 18 Jan 2013 16:45:33 +0000 [thread overview]
Message-ID: <1358527534-16401-2-git-send-email-jeremie.galarneau@efficios.com> (raw)
In-Reply-To: <1358527534-16401-1-git-send-email-jeremie.galarneau@efficios.com>
Signed-off-by: J?r?mie Galarneau <jeremie.galarneau at efficios.com>
---
bindings/python/Makefile.am | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index bf8050e..536e07f 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -23,6 +23,5 @@ _babeltrace_la_LIBADD = $(top_srcdir)/formats/ctf/libbabeltrace-ctf.la \
# SWIG 'warning md variable unused' fixed after SWIG build:
babeltrace_wrap.c: babeltrace.i
$(SWIG) -python -Wall -I. -I$(top_srcdir)/include babeltrace.i
- sed -i "s/PyObject \*m, \*d, \*md;/PyObject \*m, \*d;\n#if defined(SWIGPYTHON_BUILTIN)\nPyObject *md;\n#endif/g" babeltrace_wrap.c
- sed -i "s/md = d/d/g" babeltrace_wrap.c
- sed -i "s/(void)public_symbol;/(void)public_symbol;\n md = d;/g" babeltrace_wrap.c
+
+CLEANFILES = babeltrace.i babeltrace.py babeltrace_wrap.c
--
1.8.1.1
next prev parent reply other threads:[~2013-01-18 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 16:45 [lttng-dev] [PATCH babeltrace 1/3] Fix: Mismatching function signatures used by python bindings Jérémie Galarneau
2013-01-18 16:45 ` Jérémie Galarneau [this message]
2013-01-18 16:45 ` [lttng-dev] [PATCH babeltrace 3/3] Fix: Removed Python bindings to static constructor and destructor Jérémie Galarneau
2013-01-20 17:59 ` Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358527534-16401-2-git-send-email-jeremie.galarneau@efficios.com \
--to=jeremie.galarneau@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox