Hi Vincent,

On 14/5/09 11:53 AM, Vincent Bourdier wrote:
So if I understand well, when the dll is loaded by dynamic_library, the
REGISTER_OSGPLUGIN(...) create a static function, which is stacked in
the registry, just because of the load.
This is just native C++ behaviour, or do I miss some things...  ?

Not a static function but a static variable. And yes, this is standard C behaviour that static variables are initialized.

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to