https://issues.dlang.org/show_bug.cgi?id=22759
--- Comment #7 from Steven Schveighoffer <schvei...@gmail.com> --- (In reply to dave287091 from comment #4) > Just treat declarations of > `int * data` and `int * const data` the same in the body of c functions (as > long as they are not also static). apologies, it looks exactly the same as the thing I just suggested! I didn't read this fully. But yes, I think this is the way forward. Looking at the referenced issue, I can't see how it's any different actually. --