Skip to content

Commit

Permalink
PYPY3 Add support for pypy3 in FormatHandler
Browse files Browse the repository at this point in the history
Add `_ctypes.array.ArrayMeta` to classes recognized by `ctypesarrays`
formathandler.  This is the class used by arrays on PyPy3.10.  Adding
this makes the test suite pass on PyPy3.10 7.3.13.

Fixes mcfletch#108
  • Loading branch information
mgorny committed Nov 17, 2023
1 parent d65033d commit 33da175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenGL/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def setPlatform(key):
"_ctypes.PyCArrayType",
"_ctypes.Array",
"_ctypes.array.Array",
"_ctypes.array.ArrayMeta",
],
isOutput=True,
)
Expand Down

0 comments on commit 33da175

Please sign in to comment.