libSBML C API  5.18.0
extern.h File Reference

Definitions of LIBSBML_EXTERN and related things. More...

Include dependency graph for extern.h:
This graph shows which files directly or indirectly include this file:

Macros

#define BEGIN_C_DECLS
 
#define END_C_DECLS
 
#define LIBSBML_EXTERN
 LIBSBML_EXTERN is used under Windows to simplify exporting functions from a DLL. More...
 

Detailed Description

Definitions of LIBSBML_EXTERN and related things.

Author
Ben Bornstein

Macro Definition Documentation

#define BEGIN_C_DECLS
#define END_C_DECLS
#define LIBSBML_EXTERN

LIBSBML_EXTERN is used under Windows to simplify exporting functions from a DLL.

When compiling under Windows, all files within this DLL are compiled with the LIBSBML_EXPORTS symbol defined on the command line. This in turn causes extern.h to define a different version of LIBSBML_EXTERN that is appropriate for exporting functions to client code that uses the DLL.