summaryrefslogtreecommitdiff
path: root/src/python.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-31 19:15:24 +0000
committerDana Jansens <danakj@orodu.net>2002-12-31 19:15:24 +0000
commit745e840547b5443ecfb9b6f0a4f14b0d035d59c2 (patch)
treee20da017ab6d93775136f0cd2267a25f7c83f8d6 /src/python.hh
parent1161a90a70b21d3064a9dee62c72dd4be3025ada (diff)
load config options from the python environment
Diffstat (limited to 'src/python.hh')
-rw-r--r--src/python.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/python.hh b/src/python.hh
index a654152b..7566f817 100644
--- a/src/python.hh
+++ b/src/python.hh
@@ -14,8 +14,14 @@ extern "C" {
#include <Python.h>
}
+#include <string>
+
namespace ob {
+void python_init(char *argv0);
+bool python_exec(const char *file);
+bool python_get_string(const char *name, std::string *value);
+
//! Add a python callback funtion to the back of the hook list
/*!
Registering functions for KeyPress events is pointless. Use python_bind