pointer array?

Leandro Motta Barros via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 30 11:30:55 PDT 2014


Can't you call it directly?

extern(C)
{
   int add (int a, int b)';
}

// ...

auto ret = add(123, 456);



LMB




On Wed, Jul 30, 2014 at 2:55 PM, seany via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

>
>
>> Can you post the signatures of some of the C functions you're trying to
>> interface with?
>>
>
> let us take a simple function :
>
> int add (int a, int b)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140730/6ed3a907/attachment.html>


More information about the Digitalmars-d-learn mailing list