1
0
Fork 0
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:
bolero-MURAKAMI 2014-02-21 00:25:55 +09:00
parent 06bd554967
commit 2867cd79ef
20 changed files with 43 additions and 1 deletions

View file

@ -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