[dmd-beta] dmd 1.070 and 2.055 beta

Daniel Murphy yebblies at gmail.com
Mon Sep 5 01:13:22 PDT 2011


http://msdn.microsoft.com/en-us/library/aa383751(v=vs.85).aspx says
CALLBACK == __stdcall, which is what I'd expect.

On Mon, Sep 5, 2011 at 5:28 PM, Sönke Ludwig
<ludwig at informatik.uni-luebeck.de> wrote:
> Am 05.09.2011 08:31, schrieb Sönke Ludwig:
>>
>> 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)
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
> Arrg, sorry I switched the terms!
>
> CALLBACK is actually defined as > __cdecl < in contrast to the other API
> functions which are __stdcall!
>
> I will check the other callback aliases as well so see which have CALLBACK.
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>


More information about the dmd-beta mailing list