mitsuhiko/snaek

"New style" callbacks in cffi

Opened this issue · 1 comments

The "old style" callbacks in cffi have a scary warning that they're deprecated now, but the "new style" callbacks I believe need support from snaek to generate as it involves a change to the "header file" fed into cffi.

In the meantime the "old style" is still perfectly functional, but it'd be awesome to be able to support the new-style as well!

AFAICT milksnake can already support this via its header_filename (or alternatively header_source) hook, allowing customization of the header file or source