MFRC522 RFID Reader 1.0.0
This is a library for the MFRC522 RFID reader.
Loading...
Searching...
No Matches
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