D static lib called from C on Mac OS X

Nicolas Sicard dransic at gmail.com
Wed Apr 25 11:11:14 PDT 2012


On Wednesday, 25 April 2012 at 17:59:38 UTC, Andrej Mitrovic 
wrote:
> On 4/25/12, Nicolas Sicard <dransic at gmail.com> wrote:
>> --- file main.c ---
>> extern void mylib_init();
>> extern void mylib_free();
>
> Try changing void to bool there.

This was a typo in my first post. The problem is elsewhere.

Thanks



More information about the Digitalmars-d-learn mailing list