Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: webrtc/base/objc/RTCMacros.h

Issue 1899573002: Mark public ObjC APIs as explicitly visible. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add RTCDataBuffer Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/objc/RTCLogging.h ('k') | webrtc/base/objc/RTCSSLAdapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/objc/RTCMacros.h
diff --git a/webrtc/base/objc/RTCMacros.h b/webrtc/base/objc/RTCMacros.h
index 4979a2b87f5f9a0ef9508b344ca816de1a11b6e2..f9f15c37d3943d9d5833f8c0d1f4fd2de4390aab 100644
--- a/webrtc/base/objc/RTCMacros.h
+++ b/webrtc/base/objc/RTCMacros.h
@@ -11,10 +11,12 @@
#ifndef WEBRTC_BASE_OBJC_RTC_MACROS_H_
#define WEBRTC_BASE_OBJC_RTC_MACROS_H_
+#define RTC_EXPORT __attribute__((visibility("default")))
+
#if defined(__cplusplus)
-#define RTC_EXPORT extern "C"
+#define RTC_EXTERN extern "C" RTC_EXPORT
#else
-#define RTC_EXPORT extern
+#define RTC_EXTERN extern RTC_EXPORT
#endif
#ifdef __OBJC__
« no previous file with comments | « webrtc/base/objc/RTCLogging.h ('k') | webrtc/base/objc/RTCSSLAdapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698