From ef02a0c8ae65f169157c90064a335303e964a4c1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 13 Jan 2003 05:54:40 +0000 Subject: almost done the ustring conversion --- src/python.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/python.cc') 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; -- cgit v1.2.3