Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
355f0b97
Commit
355f0b97
authored
Mar 05, 2019
by
Jan Möbius
Browse files
Fixed warnings
parent
4b03f6ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
PythonInterpreter/PythonTypeConversions.hh
View file @
355f0b97
...
...
@@ -73,7 +73,7 @@ namespace pybind11 { namespace detail {
const
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
if
(
!
ptr
)
{
return
NULL
;
return
false
;
}
/* Now try to convert into a C++ int */
...
...
@@ -522,7 +522,7 @@ namespace pybind11 { namespace detail {
const
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
if
(
!
ptr
)
{
return
NULL
;
return
false
;
}
QString
updateString
=
QString
::
fromUtf8
(
ptr
,
size
);
...
...
@@ -630,7 +630,7 @@ namespace pybind11 { namespace detail {
const
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
if
(
!
ptr
)
{
return
NULL
;
return
false
;
}
QString
typeString
=
QString
::
fromUtf8
(
ptr
,
size
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment