X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=f1d701a81c8804303b6d4d2b1a37916a1210858b;hb=d2adccbe2880e7d5b2cb39d833877cfddeff11f4;hp=8c3839041489132f40cbba8ce76997cd8779f4c0;hpb=059bc4dc24b68d637c3608c05344c53c64cc2c4b;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index 8c383904..f1d701a8 100644 --- a/src/python.hh +++ b/src/python.hh @@ -231,7 +231,8 @@ typedef void (*EventCallback)(EventData*, void*); void python_init(char *argv0); void python_destroy(); -bool python_exec(const std::string &path); +//! Returns 0 for success, 1 for failing to open the file, 2 for an exception +int python_exec(const std::string &path); #endif // SWIG