X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=f1d701a81c8804303b6d4d2b1a37916a1210858b;hb=31d41a7aa60b06caea77d2c20af48e5c54eed600;hp=b6f8ae7cecb64dbdb309bb3fe0c85f8ef0535f3d;hpb=238355f190d9a147f812605af5506173e788e378;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index b6f8ae7c..f1d701a8 100644 --- a/src/python.hh +++ b/src/python.hh @@ -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 *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