Arduino driver library for Decawave DW1000  Dec 20 2016
deprecated.h
Go to the documentation of this file.
1 
7 #ifndef DEPRECATED_H
8 #define DEPRECATED_H
9 
10 #ifdef __has_cpp_attribute
11 #if __has_cpp_attribute(deprecated)
12 #define DEPRECATED [[deprecated]]
13 #define DEPRECATED_MSG(msg) [[deprecated(msg)]]
14 #endif // __has_cpp_attribute(deprecated)
15 #else
16 #define DEPRECATED __attribute__((deprecated))
17 #define DEPRECATED_MSG(msg) __attribute__((deprecated(msg)))
18 #endif // __has_cpp_attribute
19 
20 #endif // DEPRECATED_H