
June 8, 2021
2:10 p.m.
Hi Joannah,
On Tue, Jun 8, 2021 at 1:09 PM Joannah Nanjekye <nanjekyejoannah@gmail.com> wrote:
typedef unsigned int PyObject;
This is almost exactly how an HPy handle is defined on PyPy.
On CPython, an HPy handle is just a PyObject * wrapped in a typedef (so that the compiler will generate an error if one attempts to access the elements of the PyObject struct).
Yours sincerely, Simon