WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
SymbolExports.hpp File Reference

Go to the source code of this file.

Macros

#define SLEIPNIR_DLLEXPORT
 
#define EXPORT_TEMPLATE_DECLARE(export)
 
#define EXPORT_TEMPLATE_DEFINE(export)
 
#define EXPORT_TEMPLATE_INVOKE(which, style, export)
 
#define EXPORT_TEMPLATE_INVOKE_2(which, style, export)
 
#define EXPORT_TEMPLATE_DECLARE_DEFAULT(export, _)
 
#define EXPORT_TEMPLATE_DEFINE_DEFAULT(export, _)
 
#define EXPORT_TEMPLATE_DECLARE_MSVC_HACK(export, _)
 
#define EXPORT_TEMPLATE_DEFINE_MSVC_HACK(export, _)
 
#define EXPORT_TEMPLATE_STYLE(export, _)
 
#define EXPORT_TEMPLATE_STYLE_2(export, _)
 
#define EXPORT_TEMPLATE_STYLE_3(style)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA   DEFAULT
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__(...)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec(arg)
 
#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport   MSVC_HACK
 
#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport   DEFAULT
 
#define EXPORT_TEMPLATE_TEST(want, export)
 
#define EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT(...)
 
#define EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK(...)
 

Functions

 EXPORT_TEMPLATE_TEST (DEFAULT,)
 
 EXPORT_TEMPLATE_TEST (DEFAULT, __attribute__((visibility("default"))))
 
 EXPORT_TEMPLATE_TEST (MSVC_HACK, __declspec(dllexport))
 
 EXPORT_TEMPLATE_TEST (DEFAULT, __declspec(dllimport))
 

Macro Definition Documentation

◆ EXPORT_TEMPLATE_DECLARE

#define EXPORT_TEMPLATE_DECLARE ( export)
Value:
EXPORT_TEMPLATE_INVOKE(DECLARE, EXPORT_TEMPLATE_STYLE(export, ), export)
#define EXPORT_TEMPLATE_STYLE(export, _)
Definition SymbolExports.hpp:133
#define EXPORT_TEMPLATE_INVOKE(which, style, export)
Definition SymbolExports.hpp:103

◆ EXPORT_TEMPLATE_DECLARE_DEFAULT

#define EXPORT_TEMPLATE_DECLARE_DEFAULT ( export,
_ )
Value:
export

◆ EXPORT_TEMPLATE_DECLARE_MSVC_HACK

#define EXPORT_TEMPLATE_DECLARE_MSVC_HACK ( export,
_ )

◆ EXPORT_TEMPLATE_DEFINE

#define EXPORT_TEMPLATE_DEFINE ( export)
Value:
EXPORT_TEMPLATE_INVOKE(DEFINE, EXPORT_TEMPLATE_STYLE(export, ), export)

◆ EXPORT_TEMPLATE_DEFINE_DEFAULT

#define EXPORT_TEMPLATE_DEFINE_DEFAULT ( export,
_ )

◆ EXPORT_TEMPLATE_DEFINE_MSVC_HACK

#define EXPORT_TEMPLATE_DEFINE_MSVC_HACK ( export,
_ )
Value:
export

◆ EXPORT_TEMPLATE_INVOKE

#define EXPORT_TEMPLATE_INVOKE ( which,
style,
export )
Value:
EXPORT_TEMPLATE_INVOKE_2(which, style, export)
#define EXPORT_TEMPLATE_INVOKE_2(which, style, export)
Definition SymbolExports.hpp:105

◆ EXPORT_TEMPLATE_INVOKE_2

#define EXPORT_TEMPLATE_INVOKE_2 ( which,
style,
export )
Value:
EXPORT_TEMPLATE_##which##_##style(export, )

◆ EXPORT_TEMPLATE_STYLE

#define EXPORT_TEMPLATE_STYLE ( export,
_ )
Value:
#define EXPORT_TEMPLATE_STYLE_2(export, _)
Definition SymbolExports.hpp:134

◆ EXPORT_TEMPLATE_STYLE_2

#define EXPORT_TEMPLATE_STYLE_2 ( export,
_ )
Value:
#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA
Definition SymbolExports.hpp:146
#define EXPORT_TEMPLATE_STYLE_3(style)
Definition SymbolExports.hpp:137

◆ EXPORT_TEMPLATE_STYLE_3

#define EXPORT_TEMPLATE_STYLE_3 ( style)
Value:
style

◆ EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport

#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllexport   MSVC_HACK

◆ EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport

#define EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_dllimport   DEFAULT

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA   DEFAULT

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__attribute__ ( ...)
Value:
DEFAULT

◆ EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec

#define EXPORT_TEMPLATE_STYLE_MATCH_foj3FJo5StF0OvIzl7oMxA__declspec ( arg)
Value:
EXPORT_TEMPLATE_STYLE_MATCH_DECLSPEC_##arg
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
Returns a named argument to be used in a formatting function.
Definition base.h:2775

◆ EXPORT_TEMPLATE_TEST

#define EXPORT_TEMPLATE_TEST ( want,
export )
Value:
static_assert(EXPORT_TEMPLATE_INVOKE( \
TEST_##want, EXPORT_TEMPLATE_STYLE(export, ), export), \
#export)

◆ EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT

#define EXPORT_TEMPLATE_TEST_DEFAULT_DEFAULT ( ...)
Value:
true

◆ EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK

#define EXPORT_TEMPLATE_TEST_MSVC_HACK_MSVC_HACK ( ...)
Value:
true

◆ SLEIPNIR_DLLEXPORT

#define SLEIPNIR_DLLEXPORT

Function Documentation

◆ EXPORT_TEMPLATE_TEST() [1/4]

EXPORT_TEMPLATE_TEST ( DEFAULT ,
__attribute__((visibility("default")))  )

◆ EXPORT_TEMPLATE_TEST() [2/4]

EXPORT_TEMPLATE_TEST ( DEFAULT ,
__declspec(dllimport)  )

◆ EXPORT_TEMPLATE_TEST() [3/4]

EXPORT_TEMPLATE_TEST ( DEFAULT )

◆ EXPORT_TEMPLATE_TEST() [4/4]

EXPORT_TEMPLATE_TEST ( MSVC_HACK ,
__declspec(dllexport)  )