summaryrefslogtreecommitdiff
path: root/wrap/ob_python.i
diff options
context:
space:
mode:
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"