diff options
| author | Ted Ross <tross@apache.org> | 2009-06-01 21:24:14 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-06-01 21:24:14 +0000 |
| commit | d30c482b6a5070c5fcd97291c901ddcde77f351f (patch) | |
| tree | 6b7a5f8aad9e10238aea053932c47b3981f1ebd6 /cpp/bindings/qmf/python/python.i | |
| parent | 7f280d95d1bc92a8534d589b537b8e90e913099c (diff) | |
| download | qpid-python-d30c482b6a5070c5fcd97291c901ddcde77f351f.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/qpid@780837 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/python/python.i')
| -rw-r--r-- | cpp/bindings/qmf/python/python.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/bindings/qmf/python/python.i b/cpp/bindings/qmf/python/python.i new file mode 100644 index 0000000000..4ead28ab89 --- /dev/null +++ b/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" + |
