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

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

Issue 1696673003: Tweaks for new Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes based on feedback Created 4 years, 10 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
Index: webrtc/base/objc/RTCSSLAdapter.h
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/base/objc/RTCSSLAdapter.h
index 11ac8af08ab36c80891ebd96a33297d189e5441c..60d232a2e1eaf2f60cd4dcf2766c54da97153882 100644
--- a/webrtc/base/objc/RTCSSLAdapter.h
+++ b/webrtc/base/objc/RTCSSLAdapter.h
@@ -14,5 +14,10 @@
* Initialize and clean up the SSL library. Failure is fatal. These call the
* corresponding functions in webrtc/base/ssladapter.h.
*/
+#if defined(__cplusplus)
tkchin_webrtc 2016/02/20 00:17:32 add something to the prefix header or separate mac
hjon_webrtc 2016/02/22 23:03:06 Done.
+extern "C" BOOL RTCInitializeSSL();
+extern "C" BOOL RTCCleanupSSL();
+#else
BOOL RTCInitializeSSL();
BOOL RTCCleanupSSL();
+#endif
« webrtc/api/objc/RTCVideoTrack.mm ('K') | « webrtc/api/objctests/RTCSessionDescriptionTest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698