summaryrefslogtreecommitdiff
path: root/wrap/ob_python.i
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-17 15:42:31 +0000
committerDana Jansens <danakj@orodu.net>2003-02-17 15:42:31 +0000
commitc217a730901137252cde2d3a39b59c4ebd53e879 (patch)
tree1ebc60ba7c20631fe48b6be734eb7f9c3895c98d /wrap/ob_python.i
parent0dd7ebcba90752d3ad832586f0c1745660078a03 (diff)
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)
Diffstat (limited to 'wrap/ob_python.i')
-rw-r--r--wrap/ob_python.i18
1 files changed, 18 insertions, 0 deletions
diff --git a/wrap/ob_python.i b/wrap/ob_python.i
new file mode 100644
index 00000000..e5c54301
--- /dev/null
+++ b/wrap/ob_python.i
@@ -0,0 +1,18 @@
+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+%module ob_python
+
+%{
+#include "config.h"
+#include "python.hh"
+%}
+
+namespace ob {
+
+%ignore python_init(char*);
+%ignore python_destroy();
+%ignore python_exec(const std::string &);
+
+}
+
+%include "python.hh"