kill debug prints
This commit is contained in:
parent
01a37dfe18
commit
0b466d7136
1 changed files with 0 additions and 3 deletions
|
@ -28,7 +28,6 @@ bool python_get_string(const char *name, otk::ustring *value)
|
||||||
PyObject *val = PyDict_GetItemString(obdict, const_cast<char*>(name));
|
PyObject *val = PyDict_GetItemString(obdict, const_cast<char*>(name));
|
||||||
if (!(val && PyString_Check(val))) return false;
|
if (!(val && PyString_Check(val))) return false;
|
||||||
|
|
||||||
printf("PYLENGTH %d\n", PyString_Size(val));
|
|
||||||
std::string temp(PyString_AsString(val), PyString_Size(val));
|
std::string temp(PyString_AsString(val), PyString_Size(val));
|
||||||
*value = temp;
|
*value = temp;
|
||||||
return true;
|
return true;
|
||||||
|
@ -81,13 +80,11 @@ Config::Config()
|
||||||
default_icon[0] = w;
|
default_icon[0] = w;
|
||||||
default_icon[1] = h;
|
default_icon[1] = h;
|
||||||
memcpy(default_icon + 2, s.data(), s.bytes());
|
memcpy(default_icon + 2, s.data(), s.bytes());
|
||||||
printf("%d %d\n", default_icon[0], default_icon[1]);
|
|
||||||
} else {
|
} else {
|
||||||
default_icon = 0;
|
default_icon = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
icon_length = s.bytes();
|
icon_length = s.bytes();
|
||||||
printf("LENGTH %d\n", icon_length);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Config::~Config()
|
Config::~Config()
|
||||||
|
|
Loading…
Reference in a new issue