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:
parent
4ee1e2f35f
commit
682fb08c88
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue