[gmpi] Re: low level API - Abstract Factory summary

  • From: "Angus F. Hewlett" <angus@xxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Tue, 08 Feb 2005 11:13:29 +0000

Paul Davis wrote:

you use standard C conventions:

all functions and data marked static are local to the module being
loaded, everything else is (potentially) global. OSX is the same, i
believe. for some reasons, windows took the opposite approach - stuff
is not globally visible unless marked. i have no idea why this
decision was made.

My guess would be, because they wanted DLLs to be easily usable between different developers. Only export what you want other people to use.

Probably some closed-source issues there as well. Xcode on OSX (based on gcc) leaves all function symbols switched on by default - makes crash logs beautifully easy to read, but also makes it frighteningly easy to reverse-engineer proprietary software :-/


Angus F. Hewlett, Managing Director (CEO)
FXpansion Audio UK Ltd - http://www.fxpansion.com
Registered in the UK - #4455834 - VAT: GB 798 7782 33

---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: