Factory design
Jarrett Billingsley
kb3ctd2 at yahoo.com
Sun May 28 18:49:27 PDT 2006
"John C" <johnch_atms at hotmail.com> wrote in message
news:e5dgdt$1as6$1 at digitaldaemon.com...
> extern(C) works because the name of the function doesn't get mangled.
Ohhhh yeah. I ran into the same thing on another thread about 15 down from
this one..
This is a real problem. Mangling function names with module names is a good
idea on the surface, but it makes it impossible to declare a function in one
module and define it in another without some ugly hacks and serious
restrictions.
Something needs to be done to solve this, such as not mangling module names
into the names of functions which are declared "extern."
More information about the Digitalmars-d-learn
mailing list