wide function pointer type

Martin Uecker ma.uecker@gmail.com
Sun Oct 10 11:32:20 GMT 2021



Hi all,

I will propose a wide function pointer type (actually
a wide function type) to WG14 for C23 as a common 
type for callbacks, closures, which now require an
additional void pointer argument in C APIs. This
is intended to be compatible with ABIs with now
use a static chain register.

An early draft can be found here:

http://wwwuser.gwdg.de/~muecker1/wide_v4.pdf


I thought you might be interested and I would love
to hear your feedback.

Martin





More information about the Libffi-discuss mailing list