summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf/python/python.i
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-06-01 21:24:31 +0000
committerTed Ross <tross@apache.org>2009-06-01 21:24:31 +0000
commit38947ae384fd2fb0d0e379f13e28392a15a54e5d (patch)
treee5a2b298c0d01a0d0a61e6adc8379442ec07bea6 /qpid/cpp/bindings/qmf/python/python.i
parent0be2a3e2b81fb5c4ffbd9d46aba1233b9e0f2766 (diff)
downloadqpid-python-38947ae384fd2fb0d0e379f13e28392a15a54e5d.tar.gz
QPID-1874 - Patch from Ian Main
This patch provides the Ruby binding for QMF Agent and the framework for the Python bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@780837 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/python/python.i')
-rw-r--r--qpid/cpp/bindings/qmf/python/python.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf/python/python.i b/qpid/cpp/bindings/qmf/python/python.i
new file mode 100644
index 0000000000..4ead28ab89
--- /dev/null
+++ b/qpid/cpp/bindings/qmf/python/python.i
@@ -0,0 +1,16 @@
+%module qmfengine
+
+// These are probably wrong.. just to get it to compile for now.
+%typemap (in) void *
+{
+ $1 = (void *) $input;
+}
+
+%typemap (out) void *
+{
+ $result = (PyObject *) $1;
+}
+
+
+%include "../qmfengine.i"
+