]> Dogcows Code - chaz/openbox/blobdiff - src/python.hh
split the ob module into separate .i's
[chaz/openbox] / src / python.hh
index 214586f528e418d8e32019f5e2b16cad934cac31..f1d701a81c8804303b6d4d2b1a37916a1210858b 100644 (file)
@@ -14,7 +14,6 @@
 
 extern "C" {
 #include <X11/Xlib.h>
-#include <Python.h>
 }
 
 #include <string>
@@ -232,11 +231,8 @@ typedef void (*EventCallback)(EventData*, void*);
 
 void python_init(char *argv0);
 void python_destroy();
-bool python_exec(const std::string &path);
-
-bool python_get_long(const char *name, long *value);
-bool python_get_string(const char *name, otk::ustring *value);
-bool python_get_stringlist(const char *name, std::vector<otk::ustring> *value);
+//! Returns 0 for success, 1 for failing to open the file, 2 for an exception
+int python_exec(const std::string &path);
 
 #endif // SWIG
 
This page took 0.023481 seconds and 4 git commands to generate.