mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add SPROUT_DEPRECATED
This commit is contained in:
parent
06bd554967
commit
2867cd79ef
20 changed files with 43 additions and 1 deletions
|
@ -75,6 +75,17 @@
|
|||
# define SPROUT_DELETED_FUNCTION_DECL ;
|
||||
#endif // #ifndef SPROUT_CONFIG_DISABLE_DELETED_FUNCTIONS
|
||||
|
||||
//
|
||||
// SPROUT_DEPRECATED
|
||||
//
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
# define SPROUT_DEPRECATED __attribute__((deprecated))
|
||||
#elif defined(_MSC_VER)
|
||||
# define SPROUT_DEPRECATED) __declspec(deprecated)
|
||||
#else
|
||||
# define SPROUT_DEPRECATED
|
||||
#endif
|
||||
|
||||
//
|
||||
// SPROUT_USE_EXPLICIT_CONVERSION_OPERATORS
|
||||
// SPROUT_EXPLICIT_CONVERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue