lifning / python-retro

Python extensions for dealing with libretro
GNU Affero General Public License v3.0
12 stars 3 forks source link

make some sort of c or cython submodule to wrap variadic args #16

Open lifning opened 6 years ago

lifning commented 6 years ago

a callback of type retro_log_printf_t must accept variable arguments after the format string:

typedef void (RETRO_CALLCONV *retro_log_printf_t)(enum retro_log_level level,
const char *fmt, ...);

ctypes can't handle 'em because libffi doesn't support 'em. so we miss out on a lot of nice logging from cores by default.

lifning commented 6 years ago

first pass exists in dev branch