Detect float type for :auto type in grovel

Luís Oliveira luismbo at gmail.com
Tue Mar 23 23:40:51 UTC 2021


On Tue, 23 Mar 2021 at 11:15, Song Wei <leo_songwei at outlook.com> wrote:
> Just checked the
> https://github.com/cffi/cffi/blob/master/grovel/common.h , there is a
> SLOT_SIGNED_P macro, which looks very interesting.
>
> I'm wondering is it a good idea to use similar trick to detect float and
> double for the auto type?

Maybe! That bit was contributed by Joshua Elsasser. Perhaps he's still
around to opine.

Cheers,
Luís



More information about the cffi-devel mailing list