ImportC and #pragma pack

Claude claudemr at live.fr
Thu Sep 30 07:01:07 UTC 2021


On Wednesday, 29 September 2021 at 17:25:51 UTC, Imperatorn wrote:
> My vote is for supporting it. That way it will be complete, and 
> I remember seeing it around networking and serialization 
> contexts for example. I tried asking in some c/c++ forums and 
> got an estimate at around 3-5% of stuff use it according to 
> them. Not much, but also not below 1%.

I would also vote for that particular feature.

I've also come across it in serialization context, but also many 
times in the embedded system low-level context to describe 
memory-mapped devices.

As to how open should ImportC be to C extensions, I have no idea.


More information about the Digitalmars-d mailing list