[PyPy-issue] [issue650] pypy_decl.h uses incorrect types for arguments

Amaury Forgeot d Arc pypy-dev-issue at codespeak.net
Sun Feb 27 22:59:54 CET 2011


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

cpyext already uses for similar reasons rffi.INT_real (because it's rendered as a C long), 
rffi.VOIDP_real (because it's rendered as a char*).

Maybe it's time for the C backend to emit C code that corresponds better corresponds to the 
RPython type: rffi.XXX will faithfully emit the corresponding C type. OTOH, lltype.Signed 
can be any integer type with the desired size.

----------
status: unread -> chatting

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue650>
_______________________________________________________



More information about the Pypy-issue mailing list