[ODE] Why no __declspec(dllexport)

Martin C. Martin martin at metahuman.org
Wed Apr 28 10:56:00 MST 2004


 >> Do exactly what ODE does: Make them static.
 >
 > Global functions?

You realize that there are three uses of the keyword "static" in C++, right?

1. a member function that doesn't have a "this" pointer.

2. a variable that's local to a function, and that keeps its value 
between function calls.

3. a function or global variable that isn't visible outside the current 
compilation unit.

And that, during this entire discussion, I've been talking about the 
third use?  Since that's what's relevant for visibility of 
functions/variables?

- Martin




More information about the ODE mailing list