[osg-users] OSG_EXPORT

2011-09-10 Thread Sajjadul Islam
Hello forum,

Al  the class declaration starts as follows:



Code:

class OSG_EXPORT Geometry : public Drawable
{

}





Could someone please explain the OSG_EXPORT here ?

Thank you!

Cheers,
Sajjadul

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42586#42586





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG_EXPORT

2011-09-10 Thread Chris 'Xenon' Hanson
On 9/10/2011 7:59 AM, Sajjadul Islam wrote:
 Hello forum,
 Al  the class declaration starts as follows:
 class OSG_EXPORT Geometry : public Drawable
 {
 
 }
 Could someone please explain the OSG_EXPORT here ?

  It's a bit of magic to allow compiling or using as a DLL on Windows, which 
requires
different qualifiers be inserted at DLL compile time versus DLL link/usage time.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
There is no Truth. There is only Perception. To Perceive is to Exist. - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org