Dimitrie O. Paun dpaun-at-rogers.com |Wine Mailing Lists| wrote:

On November 26, 2002 01:19 pm, Robert North wrote:

So, What do people want to do to protect their namespaces ??

This is not a big problem for Wine. In Wine, namespaces are
per DLL, and those are defined by MS anyway.

Inside a DLL, keep related things in a file, and mark all that
you can static. If you do that, 99% of non-static functions map
1-to-1 to an exported DLL function, so you are OK.

Anyway you do it, I seems to me you have to try real hard to mess up the namespace in a single DLL. :)


While the above is true, you can still pollute your own namespace.
And to this end there's this section in the "DEVELOPERS-HINTS" file:
"NAMING CONVENTIONS FOR NON-API FUNCTIONS AND TYPES"

Always pays to read the doccumentation ;-)
   -Rob.


Reply via email to