Function prototype + definition in the same file

Manu turkeyman at gmail.com
Tue Sep 25 05:26:58 PDT 2012


On 25 September 2012 15:21, bearophile <bearophileHUGS at lycos.com> wrote:

> Manu:
>
>
>  I have a fairly comprehensive binding solution which automates the work in
>> the case of dynamic linkage, but the problem is the way the user defines
>> the functions that exist in the D code.
>>
>
> Maybe there are better ways to solve your problems (even changing D
> language in some ways), and keep avoiding the need of free floating ghosts
> of functions.
>

Can you suggest a more direct approach? Declaring prototypes seems
completely natural, supports all the expected IDE features, and in the
simple/common case (static linkage) requires absolutely no magic voodoo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120925/e26ff9c2/attachment.html>


More information about the Digitalmars-d mailing list