X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.cc;h=f6ed7a7e7dc9bc083dad407faccfc12a9fd234de;hb=ef02a0c8ae65f169157c90064a335303e964a4c1;hp=a9a457f84b578b5b31337c9ca5c89c2d2756ff39;hpb=bd39de609bcd340dd00fa9dab1519ee2a3aac458;p=chaz%2Fopenbox diff --git a/src/python.cc b/src/python.cc index a9a457f8..f6ed7a7e 100644 --- a/src/python.cc +++ b/src/python.cc @@ -66,7 +66,7 @@ bool python_get_long(const char *name, long *value) return true; } -bool python_get_string(const char *name, std::string *value) +bool python_get_string(const char *name, otk::ustring *value) { PyObject *val = PyDict_GetItemString(obdict, const_cast(name)); if (!(val && PyString_Check(val))) return false; @@ -75,7 +75,7 @@ bool python_get_string(const char *name, std::string *value) return true; } -bool python_get_stringlist(const char *name, std::vector *value) +bool python_get_stringlist(const char *name, std::vector *value) { PyObject *val = PyDict_GetItemString(obdict, const_cast(name)); if (!(val && PyList_Check(val))) return false;