Add prints to help debug.
This commit is contained in:
parent
61d8105e2c
commit
75b7d11fb1
1 changed files with 1 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ int py_bool_to(PyObject *boolobj, bool & val){
|
||||||
|
|
||||||
static
|
static
|
||||||
PyObject* py_str_from(const std::string &str){
|
PyObject* py_str_from(const std::string &str){
|
||||||
|
puts(str.c_str());
|
||||||
return PyString_FromStringAndSize(str.c_str(), str.size());
|
return PyString_FromStringAndSize(str.c_str(), str.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue