On 3/29/19 7:52 PM, H. S. Teoh wrote:
On Fri, Mar 29, 2019 at 10:48:47PM +0000, Chris Katko via Digitalmars-d-learn
wrote:
...> There are probably other similar gotchas, but these are the ones
off the
top of my head. Feel free to ask if you're having trouble correctly
translating something from C. If all else fails, run the header through
a C processor and inspect the output to find out what the *real*
definition of something is, if the original C source is so obfuscated
you can't easily tell otherwise.
Sorry I'm late to the party but another one that we have come across
quite a bit is in function signatures:
C:
const char *stringparam
D:
const(char)* stringparam
Best wishes