[Issue 11910] Writes to extern (C) struct have no effect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 13 03:34:14 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11910
--- Comment #6 from Manu <turkeyman at gmail.com> 2014-01-13 03:34:12 PST ---
(In reply to comment #4)
>
> In that case you forgot "extern", the correct declaration should be:
>
> extern (C) extern __gshared MFDefaults gDefaults;
>
> Have a look at: http://dlang.org/interfaceToC.html#C%20Globals
... oh
Crap, where's that edit button!
Wow, I have no words.
I never would have spotted that a mile off, even when you said it!
That seems extremely redundant :/
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list