[Issue 23926] ImportC: D can’t pass pointer to const struct to C function declared taking pointer to const struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 18 19:59:26 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23926

--- Comment #1 from dave287091 at gmail.com ---
Thinking more about this, C doesn’t have transitive const so maybe this is
actually correct. Maybe D needs head const to properly express C const.

--


More information about the Digitalmars-d-bugs mailing list