[Issue 15712] extern(C) cancelling itself out

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 4 08:39:51 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=15712

John Colvin <john.loughran.colvin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|nested functions in         |extern(C) cancelling itself
                   |unittests extern(C) not     |out
                   |applied                     |

--- Comment #4 from John Colvin <john.loughran.colvin at gmail.com> ---
Why would I want an extern(C) static function as a local? One simple use-case
would be to pass to a C function to use as a callback.

But that is not the point of this bug report. The point of the bug report is
that typeof(foo) is extern(C) but typeof(baz) is not.

--


More information about the Digitalmars-d-bugs mailing list