CEYLAN_PLUGIN_EXPORTED_SYMBOL
Use this macro to declare a symbol which is to be exported by the plugin, so that it can be dynamically loaded. (my_function)
int my_function() {...}
Such declarations can be gathered into a header file to make an interface for a plugin type, with different plugins implementing it.
- Note:
- The plugin name must be defined previously.
- See also:
- ceylan-test-plugin.cc
Is not accepted by the preprocessor:
define CEYLAN_PLUGIN_EXPORTED_SYMBOL(symbol)\ define symbol plugin_name#CEYLAN_SYMBOL_MARKER#symbol