Skip to content

Commit

Permalink
Skip limited API workaround on PyPy
Browse files Browse the repository at this point in the history
PyPy doesn't support the Python limited API.
  • Loading branch information
lpsinger committed Nov 20, 2023
1 parent 9c72bee commit 92bb93d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astropy_healpix/_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
*
* Drop this when supporting gcc < 10 becomes irrelevant.
*/
#ifndef PYPY_VERSION
struct _typeobject {
int _placeholder;
};
#endif

#include <Python.h>
#include <numpy/arrayobject.h>
Expand Down

0 comments on commit 92bb93d

Please sign in to comment.