From 5c97e49f760eefcbf9656d3301de0ee696ae5c1f Mon Sep 17 00:00:00 2001 From: ByungWoo Lee Date: Wed, 27 Jul 2016 14:13:50 +0900 Subject: [PATCH] Add DEPRECATED_API and DEPRECATED_TYPE Change-Id: I42f7974c50ddbd61a51bd9b8d9b10b85a946049b --- include/tizen.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/tizen.h b/include/tizen.h index acaf64c..84a8cbc 100755 --- a/include/tizen.h +++ b/include/tizen.h @@ -22,4 +22,13 @@ #ifndef EXPORT_API #define EXPORT_API __attribute__((__visibility__("default"))) #endif + +#ifndef DEPRECATED_API +#define DEPRECATED_API __attribute__((__visibility__("default"), deprecated)) +#endif + +#ifndef DEPRECATED_TYPE +#define DEPRECATED_TYPE __attribute__((deprecated)) +#endif + #endif // __TIZEN_H__ \ No newline at end of file -- 2.34.1