ImportC and #include files
jmh530
john.michael.hall at gmail.com
Sat May 6 16:16:21 UTC 2023
On Saturday, 6 May 2023 at 01:07:15 UTC, bachmeier wrote:
> On Saturday, 6 May 2023 at 00:35:46 UTC, jmh530 wrote:
>> On Friday, 5 May 2023 at 23:05:02 UTC, bachmeier wrote:
>>> On Friday, 5 May 2023 at 22:56:20 UTC, bachmeier wrote:
>>>
>>>> [...]
>>>
>>> Here's a simpler example using math.h that works for me:
>>>
>>> https://gist.github.com/bachmeil/6da28f934454864b7ddf80e2d1eaa5e5
>>
>> I’m afk this weekend, but I didn’t have a .c file that
>> included the math header. I just wanted to use the c header
>> directly in the d file. I want to try having a blank .c file
>> that includes the math header and see if I can use that with D.
>
> I updated the gist so the c file contains only `#include
> <math.h>`. It works.
Thanks!
More information about the Digitalmars-d
mailing list