]> Dogcows Code - chaz/openbox/blobdiff - src/python.hh
split the ob module into separate .i's
[chaz/openbox] / src / python.hh
index b6f8ae7cecb64dbdb309bb3fe0c85f8ef0535f3d..f1d701a81c8804303b6d4d2b1a37916a1210858b 100644 (file)
@@ -231,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.020057 seconds and 4 git commands to generate.