python: classes.i: Declare strings with std::string

This makes it consistent with the rest of the string declarations in
this file, all of which use std::string.
This commit is contained in:
Alexandru Gagniuc 2015-04-30 16:18:46 -07:00
parent 4ee1e2f35f
commit 682fb08c88
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ typedef guint pyg_flags_type;
if (!PyCallable_Check($input))
SWIG_exception(SWIG_TypeError, "Expected a callable Python object");
$1 = [=] (const sigrok::LogLevel *loglevel, string message) {
$1 = [=] (const sigrok::LogLevel *loglevel, std::string message) {
auto gstate = PyGILState_Ensure();
auto log_obj = SWIG_NewPointerObj(