#include <osgIntrospection/Export>
Defines | |
#define | OSGINTROSPECTION_VERSION 1 |
Functions | |
OSGINTROSPECTION_EXPORT const char * | osgIntrospectionGetVersion () |
osgIntrospectionGetVersion() returns the library version number. | |
OSGINTROSPECTION_EXPORT const char * | osgIntrospectionGetLibraryName () |
getLibraryName_osgIntrospection() returns the library name in human friendly form. |
#define OSGINTROSPECTION_VERSION 1 |
OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetLibraryName | ( | ) |
getLibraryName_osgIntrospection() returns the library name in human friendly form.
OSGINTROSPECTION_EXPORT const char* osgIntrospectionGetVersion | ( | ) |
osgIntrospectionGetVersion() returns the library version number.
Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgIntrospectionGetVersion.
This C function can be also used to check for the existence of the OpenSceneGraph library using autoconf and its m4 macro AC_CHECK_LIB.
Here is the code to add to your configure.in:
# # Check for the OpenSceneGraph (OSG) Introspection library # AC_CHECK_LIB(osg, osgIntrospectionGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Introspection library not found. See http://www.openscenegraph.org)],)