How to create a function declaration?
Frank Benoit (keinfarbton)
benoit at tionex.removethispart.de
Fri Jan 12 08:57:46 PST 2007
rochus schrieb:
> Marcio Faustino wrote:
>> Hi everyone,
>>
>> How can I create a function declaration only and provide its definition later?
>> For example:
>
>
> If you meant a "foreward declaration": this is not possible in D.
In the normal case, something like that is not needed.
For libs, there is the possibilty to generate headers. For dmd use the
-H option. The generated .di files will contain all declarations the
compiler needs to compile a module.
More information about the Digitalmars-d-learn
mailing list