Skip to content
GitLab
Menu
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
15d5ca4f
Commit
15d5ca4f
authored
Jan 31, 2019
by
Jan Möbius
Browse files
Try to fix size conversion on windows
parent
af6b7528
Changes
1
Show whitespace changes
Inline
Side-by-side
PythonInterpreter/PythonInterpreter.cc
View file @
15d5ca4f
...
...
@@ -266,7 +266,7 @@ namespace pybind11 { namespace detail {
if
(
!
PyUnicode_Check
(
source
))
return
false
;
long
in
t
size
;
Py_ssize_
t
size
;
char
*
ptr
=
PyUnicode_AsUTF8AndSize
(
source
,
&
size
);
if
(
!
ptr
)
{
...
...
Write
Preview
Supports
Markdown
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