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

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

Issue 1796983004: Use RTCAudioSessionDelegate in AudioDeviceIOS. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Some nits. Created 4 years, 9 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 | « no previous file | webrtc/examples/objc/AppRTCDemo/ios/Info.plist » ('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 9d4646bd2187cfd6990677ae77037bd7b6754a53..71fa0967aca34b7d6d753935b8ef6b0c58fde369 100644
--- a/webrtc/base/objc/RTCMacros.h
+++ b/webrtc/base/objc/RTCMacros.h
@@ -8,8 +8,19 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#ifndef WEBRTC_BASE_OBJC_RTC_MACROS_H_
+#define WEBRTC_BASE_OBJC_RTC_MACROS_H_
+
#if defined(__cplusplus)
- #define RTC_EXPORT extern "C"
+#define RTC_EXPORT extern "C"
#else
- #define RTC_EXPORT extern
+#define RTC_EXPORT extern
#endif
+
+#ifdef __OBJC__
+#define RTC_FWD_DECL_OBJC_CLASS(classname) @class classname
+#else
+#define RTC_FWD_DECL_OBJC_CLASS(classname) typedef struct objc_object classname
+#endif
+
+#endif // WEBRTC_BASE_OBJC_RTC_MACROS_H_
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCDemo/ios/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698