How to use a function without their sources

Johannes Pfau nospam at example.com
Fri Jan 18 10:23:02 PST 2013


Am Fri, 18 Jan 2013 19:17:33 +0100
schrieb "nazriel" <spam at dzfl.pl>:

> [...]
> 
> Nice!
> This should be mentioned at Language Reference, so it won't get 
> lost.
> 

Isn't this documented? I thought it was well known that you can mark D
functions as extern(C). It's needed when implementing callback
functions for C, for example.

You also get all the problems of unmangled C names, I remember some
nice segfaults in Derelict related to this (fixed some time ago in
derelict.)


More information about the Digitalmars-d-learn mailing list