You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2012/07/03 22:48:42 UTC
svn commit: r1356932 - in /qpid/proton/trunk/proton-c/bindings:
CMakeLists.txt python/CMakeLists.txt python/python.i
Author: rhs
Date: Tue Jul 3 20:48:41 2012
New Revision: 1356932
URL: http://svn.apache.org/viewvc?rev=1356932&view=rev
Log:
added -threads to swig build flags and removed %exception hack
Modified:
qpid/proton/trunk/proton-c/bindings/CMakeLists.txt
qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt
qpid/proton/trunk/proton-c/bindings/python/python.i
Modified: qpid/proton/trunk/proton-c/bindings/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/CMakeLists.txt?rev=1356932&r1=1356931&r2=1356932&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/CMakeLists.txt Tue Jul 3 20:48:41 2012
@@ -19,9 +19,6 @@
include(UseSWIG)
-#set(CMAKE_SWIG_FLAGS "-w362,401")
-set(CMAKE_SWIG_FLAGS, "-threads")
-
# Build wrapper for Python:
# @todo: conditionalize on whether python is available!
add_subdirectory(python)
Modified: qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt?rev=1356932&r1=1356931&r2=1356932&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt (original)
+++ qpid/proton/trunk/proton-c/bindings/python/CMakeLists.txt Tue Jul 3 20:48:41 2012
@@ -1,5 +1,7 @@
find_package (PythonLibs)
+set(CMAKE_SWIG_FLAGS "-threads")
+
swig_add_module(cproton python python.i)
include_directories (${PYTHON_INCLUDE_PATH})
swig_link_libraries(cproton qpidproton ${LINK_DEPS} ${PYTHON_LIBRARIES})
Modified: qpid/proton/trunk/proton-c/bindings/python/python.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/python.i?rev=1356932&r1=1356931&r2=1356932&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/python.i (original)
+++ qpid/proton/trunk/proton-c/bindings/python/python.i Tue Jul 3 20:48:41 2012
@@ -213,11 +213,4 @@ ssize_t pn_input(pn_transport_t *transpo
%}
%ignore pn_connector_free;
-%exception pn_driver_wait
-{
- Py_BEGIN_ALLOW_THREADS
- $action
- Py_END_ALLOW_THREADS
-}
-
%include "../cproton.i"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org