Norman Vine's changes for gcc 3.2 under Cygwin, moving of SG_EXPORT to after

the extern declaration.
This commit is contained in:
Robert Osfield
2002-12-05 12:43:08 +00:00
parent 730e2b4d1f
commit b0c4256e90
8 changed files with 55 additions and 55 deletions

View File

@@ -21,7 +21,7 @@ namespace osgDB {
* for the filename extension, and this plugin then handles the request
* to write the specified file.*/
OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::string& filename);
extern OSGDB_EXPORT bool writeObjectFile(const osg::Object& object, const std::string& filename);
/** Write an osg::Image to file.
* Return true on success,
@@ -29,7 +29,7 @@ OSGDB_EXPORT extern bool writeObjectFile(const osg::Object& object, const std::s
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
* for the filename extension, and this plugin then handles the request
* to write the specified file.*/
OSGDB_EXPORT extern bool writeImageFile(const osg::Image& image, const std::string& filename);
extern OSGDB_EXPORT bool writeImageFile(const osg::Image& image, const std::string& filename);
/** Write an osg::Node to file.
* Return true on success,
@@ -37,7 +37,7 @@ OSGDB_EXPORT extern bool writeImageFile(const osg::Image& image, const std::stri
* The osgDB::Registry is used to load the appropriate ReaderWriter plugin
* for the filename extension, and this plugin then handles the request
* to write the specified file.*/
OSGDB_EXPORT extern bool writeNodeFile(const osg::Node& node, const std::string& filename);
extern OSGDB_EXPORT bool writeNodeFile(const osg::Node& node, const std::string& filename);
}