Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
355f0b97
Commit
355f0b97
authored
Mar 05, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings
parent
4b03f6ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PythonInterpreter/PythonTypeConversions.hh
PythonInterpreter/PythonTypeConversions.hh
+3
-3
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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