[BetterC] Struct of size_ts and pointer decomposition before calling.
9il via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 5 08:09:55 PDT 2017
On Friday, 5 May 2017 at 15:05:21 UTC, jmh530 wrote:
> On Friday, 5 May 2017 at 11:30:25 UTC, 9il wrote:
>> Hi,
>>
>> Could we introduce special attribute for struct definitions to
>> make function ABI look like it accepts all fields as separate
>> data (recursively)?
>>
>
> I would think that a special attribute would require a DIP.
The attribute can be implemented as library definition + compiler
magic.
Yes, probably DIP is required. But the idea is very simple and I
want to get first feedback from compiler maintainers before we
start to work on DIP.
More information about the Digitalmars-d
mailing list