BUG: SystemABI C_LONG and C_LONGLONG are the same
youngty1997 at gmail.com
Fri May 15 01:27:29 UTC 2020
On 5/14/20 7:34 PM, Maurizio Cimadamore wrote:
> On 15/05/2020 01:20, Ty Young wrote:
>> It's primarily used for structs:
>> The bindings structs just use an internal struct and wrap for type
> I just stumbled on that when replying to your other email about odd
> results when reading from nvidia struct.
> IMHO to make this code more reliable you need to attach more info to
> the layouts of your structs, so that for each field you know what
> CrossPoint type you wanna create.
The issue with using Constable is that often times the information is
the same, so I'm going to end up with not only more garbage but a really
huge struct layout for every struct. Don't know if it's possible already
but if not, It would be nice if I could create generic sets of
Constables that act and work as if they were individually applied
without creating a ungodly amount of garbage.
> If you have some enum with all the types you support - then you can
> just attach enum constants to struct field layouts - and then you can
> recover that layout attribute from the logic in BasicNativeStruct, and
> make sure that the right wrapping abstraction is created.
More information about the panama-dev