Mercurial > code
view C++/doc/Dynlib/macro/DYNLIB_EXPORT.md @ 348:c4381c345f2d
Socket: various compiler fixes
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 04 Apr 2015 19:58:48 +0200 |
parents | 0b576ee64d45 |
children |
line wrap: on
line source
# DYNLIB_EXPORT This macro is needed on some systems as a function attribute to export the symbol. If you omit it, some symbols will not be available. ## Macro ### SYNOPSIS ````cpp #define DYNLIB_EXPORT /* implementation-defined */ ```` ### EXAMPLE ````cppp extern "C" { DYNLIB_EXPORT int myfunction(void) { return 0; } } ````