Interfacing to C. extern (C) variables
Alex_Dovhal
alex_dovhal at yahoo.com
Sun Jun 26 22:07:44 PDT 2011
"Jimmy Cao" <jcao219 at gmail.com> wrote:
>It works for me like this:
>
>extern(C){
> __gshared int c_var;
> int func();
>}
Thanks.
More information about the Digitalmars-d-learn
mailing list