Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
d44ba94b
Commit
d44ba94b
authored
Jan 10, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Not on pypy 7.2
parent
92e91a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/gevent/libuv/_corecffi_source.c
src/gevent/libuv/_corecffi_source.c
+9
-0
No files found.
src/gevent/libuv/_corecffi_source.c
View file @
d44ba94b
...
...
@@ -131,6 +131,14 @@ static void gevent_zero_loop(uv_loop_t* handle)
memset
(
handle
,
0
,
sizeof
(
uv_loop_t
));
}
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM <= 0x07020000
/* Pypy 7.2 and below don't have the needed APIs.
See
https://ci.appveyor.com/project/denik/gevent/builds/30029974/job/oqf8pjpm7r28hcy2
*/
static
void
gevent_set_uv_alloc
()
{}
#else
#include "_ffi/alloc.c"
static
void
*
_gevent_uv_malloc
(
size_t
size
)
...
...
@@ -167,6 +175,7 @@ static void gevent_set_uv_alloc()
_gevent_uv_calloc
,
_gevent_uv_free
);
}
#endif
#ifdef __clang__
#pragma clang diagnostic pop
...
...
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