self_registration.h File Reference
Go to the source code of this file.
Macros | |
#define | INTEROP_FORCE_LINK_USE(X) void force_link_metric_format(X*); force_link_metric_format(0); |
#define | INTEROP_FORCE_LINK_DEF(X) |
Detailed Description
Ensure self registration classes properly link
- Date
- 12/19/16
- Version
- 1.0
- Copyright
- GNU Public License.
Macro Definition Documentation
#define INTEROP_FORCE_LINK_DEF | ( | X | ) |
Value:
void force_link_metric_format(X*){}
Definition: enum_description.h:15
Ensure that static libraries are properly linked This must be used in a file that may not be linked.
Tested for Microsoft Visual C++, GCC and CLang
#define INTEROP_FORCE_LINK_USE | ( | X | ) | void force_link_metric_format(X*); force_link_metric_format(0); |
Ensure that static libraries are properly linked This must be used in a function that will definitely be linked.
Tested for Microsoft Visual C++, GCC and CLang