Changeset 299 in pacpusframework for trunk/include/Pacpus/kernel/pacpus.h
- Timestamp:
- 04/08/14 08:52:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/pacpus.h
r198 r299 17 17 18 18 #include <Pacpus/kernel/road_time.h> 19 20 /// @def PACPUS_DEPRECATED(func)21 /// Develops to the function or method declaration @b func22 /// and marks it as deprecated.23 24 /// @def PACPUS_DEPRECATED_MSG(func, msg)25 /// Develops to the function or method declaration @b func26 /// and marks it as deprecated with a given comment @b msg.27 #ifdef __GNUC__28 # define PACPUS_DEPRECATED(func) func __attribute__ ((deprecated))29 # define PACPUS_DEPRECATED_MSG(func, msg) PACPUS_DEPRECATED(func)30 #elif defined(_MSC_VER)31 # define PACPUS_DEPRECATED(func) __declspec(deprecated) func32 # define PACPUS_DEPRECATED_MSG(func, msg) __declspec(deprecated("was declared deprecated: " msg)) func33 #else34 # pragma message("WARNING: You need to implement PACPUS_DEPRECATED for this compiler")35 # define PACPUS_DEPRECATED(func) func36 # define PACPUS_DEPRECATED_MSG(func, msg) func37 #endif38 19 39 20 struct donnees_gps
Note:
See TracChangeset
for help on using the changeset viewer.