[pypy-issue] [issue1230] Pypy ctypes struct initialization and assignment bug

Amaury Forgeot d Arc tracker at bugs.pypy.org
Wed Aug 8 03:10:09 CEST 2012


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

Function is declared as:
    struct sass_context* sass_new_context(void);
but:
    _new_context.restype = Context
I think it should be instead:
    _new_context.restype = POINTER(Context)

----------
nosy: +afa
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1230>
________________________________________


More information about the pypy-issue mailing list