Coding standards

Dimitrie O. Paun dpaun at rogers.com
Tue Nov 26 12:34:04 CST 2002


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. :)

-- 
Dimi.




More information about the wine-devel mailing list