Skip to main content

@bytex64 I may be about to say something horribly wrong, but the thing about repr(C) is that it guarantees you are using the same layout as the platform's standard C layout, but DOES NOT convey any information about what this platform is. This means repr(C) can talk to repr(C) but neither one can totally reliably talk to C# which is using pure pointer manipulation.

P/Invoke *can* talk to repr(C)… unless you fall into the hole with the disaster around boolean sizes.

0 Boosts
0 Likes