controlling callgrind instrumentation from D

bauss jj_1337 at live.dk
Mon Sep 13 12:12:42 UTC 2021


On Friday, 10 September 2021 at 15:13:06 UTC, Stefan Koch wrote:
> On Friday, 10 September 2021 at 14:34:35 UTC, Stefan Koch wrote:
>>
>> ```d
>> extern (c) void callgrind_start();
>> extern (c) void callgrind_stop();
>> extern (c) void callgrind_dumpstats();
>> ```
>>
> Correction that's supposed to be:
>
> ```d
> extern (C) void callgrind_start();
> extern (C) void callgrind_stop();
> extern (C) void callgrind_dumpstats();
> ```

Wow it took me a long time to figure out the differences and that 
it was just the capitalization from c to C.


More information about the Digitalmars-d mailing list