From 6a99d9bf65aa5878cb409945ed2bdbdcb916d047 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 02 九月 2022 14:56:40 +0800
Subject: [PATCH] 更新linphone sdk

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/general.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/general.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/general.h
old mode 100644
new mode 100755
index e0f4e74..562fc9f
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/general.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/linphone.framework/Headers/utils/general.h
@@ -79,7 +79,7 @@
 // Debug.
 // -----------------------------------------------------------------------------
 
-void lAssert (const char *condition, const char *file, int line);
+LINPHONE_PUBLIC void lAssert (const char *condition, const char *file, int line);
 
 #ifdef DEBUG
 	#define L_ASSERT(CONDITION) ((CONDITION) ? static_cast<void>(0) : LinphonePrivate::lAssert(#CONDITION, __FILE__, __LINE__))
@@ -242,6 +242,11 @@
 			CLASS \
 		>::type * \
 	>(getPublic());
+// -----------------------------------------------------------------------------
+// Macro.
+// -----------------------------------------------------------------------------
+
+#define EPHEMERAL_MESSAGE_TASKS_MAX_NB 10
 
 // -----------------------------------------------------------------------------
 // Overload.
@@ -286,7 +291,8 @@
 // Math.
 // -----------------------------------------------------------------------------
 
-// Get the length of one integer.
+// Returns the number of digits of the absolute value of the input number
+// If the number is negative, add one to the length to account for - sign
 constexpr int getIntLength (int n) {
 	return n < 0 ? 1 + getIntLength(-n) : (n < 10 ? 1 : 1 + getIntLength(n / 10));
 }

--
Gitblit v1.8.0