On Mon, Mar 2, 2009 at 11:55 AM, Daniel Keep
<[email protected]> wrote:
>
>
> Frits van Bommel wrote:
>> Sean Kelly wrote:
>>> Daniel Keep wrote:
>>>> extern(C) void __identifier("blah$UNIX2003")(int);
>>>
>>> That would be awesome.
>>>
>>>> A beneficial side-effect is that I can finally get rid of all those
>>>> mixins that are just doing this:
>>>>
>>>> mixin(`void `~name_of_fn~`(int a)
>>>> {
>>>> // ... rest of function ...
>>>> }`);
I'm sure you've thought of this, so why can you not do
mixin(`void `~name_of_fn~`(int a) { implementation_of_function(a); }`);
or
mixin(`alias implementation_of_function `~name_of_fn~`);
?
--bb