Hi Sajjadul,

This is simply a solution to VisualStudio's silly library/dll symbol rules
that you have to jump through.  These macro compile to nothing on all
platforms except Windows so you can safely ignore them, they are simple
glue to make things work under Windows.  This approach is pretty standard
in libraries.

Robert.


On 26 April 2013 21:29, Sajjadul Islam <[email protected]> wrote:

> Hi forum,
>
> I see the the declaration of LIBRARY_EXPORT  along with function and class
> declaration as the following form. Some explanation will be appreciated.
>
>
> Code:
>
> bool LIBRARY_EXPORT setupDevice(int device = 0);
>
>
>
>
> and
>
>
> Code:
>
> class LIBRARY_EXPORT Resource : public osg::Object
> {
> ........
> }
>
>
>
>
>
>
> Thank you!
>
> Cheers,
> Sajjadul
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=53832#53832
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to