export extern (C) void Fun Error

"拖狗散步" djj at shumtn.com
Fri Apr 27 06:02:55 PDT 2012


On Friday, 27 April 2012 at 01:21:56 UTC, Trass3r wrote:
>> export c callback fun:
>>
>> alias void function(int id) ConnectedCallBack;
>> alias void function(int id, void* data, int len) ReadCallBack;
>
> add extern(C) to be safe


Thank, Trass3r! Finally correct, why have to export these two?




More information about the Digitalmars-d mailing list