]> Dogcows Code - chaz/openbox/blobdiff - src/python.cc
almost done the ustring conversion
[chaz/openbox] / src / python.cc
index a9a457f84b578b5b31337c9ca5c89c2d2756ff39..f6ed7a7e7dc9bc083dad407faccfc12a9fd234de 100644 (file)
@@ -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<char*>(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<std::string> *value)
+bool python_get_stringlist(const char *name, std::vector<otk::ustring> *value)
 {
   PyObject *val = PyDict_GetItemString(obdict, const_cast<char*>(name));
   if (!(val && PyList_Check(val))) return false;
This page took 0.022988 seconds and 4 git commands to generate.