VISR  0.11.1
Versatile Interactive Scene Renderer
export_symbol.hpp File Reference

Go to the source code of this file.

Macros

#define VISR_MEXSUPPORT_EXPORT_SYMBOL   __attribute__((__visibility__("default")))
 

Macro Definition Documentation

#define VISR_MEXSUPPORT_EXPORT_SYMBOL   __attribute__((__visibility__("default")))

Export a symbol or a class defined in a shared library/module. This is used to control the exported interface of librariesand make it platform-independent despite the different default visibilities of Windows and Unix-based platforms. This assumes that the default visibility on Unix platforms is changed to hidden (as currently done in the top-level makefile.

Note
On Windows, Matlab requires that the export properties are set via an additional .def file. Therefore we need to define this as empty.