view C++/doc/Dynlib/macro/DYNLIB_EXPORT.md @ 334:0b576ee64d45

* Create brand new hierarchy * Rename DynLib to Dynlib * Remove some warnings
author David Demelier <markand@malikania.fr>
date Sun, 08 Mar 2015 14:26:33 +0100
parents
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;
}

}
````