[dmd-beta] dmd 1.070 and 2.055 beta

Don Clugston dclugston at googlemail.com
Sun Sep 4 23:36:27 PDT 2011


On 5 September 2011 08:31, Sönke Ludwig
<ludwig at informatik.uni-luebeck.de> wrote:
> Am 04.09.2011 20:57, schrieb Walter Bright:
>>
>>
>> On 9/4/2011 3:44 AM, Sönke Ludwig wrote:
>>>
>>> Just a small thing.. at least TIMERPROC in core.sys.windows.windows is
>>> declared as extern(Windows) (CALLBACK is defined as __stdcall in C). I was
>>> getting errors that did not occur before.
>>>
>>
>> What should it be declared as?
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
> Should be extern(C)

Are you sure? My understanding was that there was only one extern(C)
function in the entire Windows API (it's extern(C) because it uses
varargs).
__stdcall normally means extern(Windows).


More information about the dmd-beta mailing list