summaryrefslogtreecommitdiffstats
path: root/lib/kross/python/pythonextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/python/pythonextension.cpp')
-rw-r--r--lib/kross/python/pythonextension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/python/pythonextension.cpp b/lib/kross/python/pythonextension.cpp
index 9d8c3ece..dbbe9bf6 100644
--- a/lib/kross/python/pythonextension.cpp
+++ b/lib/kross/python/pythonextension.cpp
@@ -206,7 +206,7 @@ Kross::Api::Object::Ptr PythonExtension::toObject(const Py::Object& object)
#ifdef Py_USING_UNICODE
/* TODO
if(type == &PyUnicode_Type) {
- Py::tqunicodestring u = Py::String(object).as_tqunicodestring();
+ Py::unicodestring u = Py::String(object).as_unicodestring();
std::string s;
std::copy(u.begin(), u.end(), std::back_inserter(s));
return new Kross::Api::Variant(s.c_str());