[fpc-devel] C++ linking questions
anton.k at tut.by
Mon Mar 22 11:19:28 CET 2010
Florian Klaempfl wrote:
>>> 5. What's the best way to save the namespace in the tobjectdef class?
>>> As a string containing 'FirstPart.SecondPart'? Or as C++ mangled
>>> string '9FirstPart10SecondPart'? Or something else (e.g. a list
>>> containing the parts)?
>> I've decided to save the mangled name in the objectdef. It's mangled
>> directly when parsing it.
> I think it's better to store just the name space string, it looks more
> flexbile to me.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
Don't UNITS in Pascal intended to separate NAMESPACES?
But unfortunately this prevents nested namespaces.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel