### lib_export

Controls the exporting of data or functions.

##### Syntax

#pragma lib_export on | off | reset
#pragma lib_export list name1 [, name2 ]*

##### Targets

All platforms.

##### Remarks

When using the #pragma lib_export on format, all data and functions are automatically exported.

Use the #pragma lib_export list format to tag specific data or functions for exporting. It applies to all names if it is used on an overloaded function. You cannot use this pragma for C++ member functions or static class members. An example of a lib_export list:

extern int f(),g;
#pragma lib_export list f,g

This pragma does not correspond to any panel setting. To check this setting, use __option (lib_export), described in Checking Settings. The default setting is off.