mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-05 13:09:31 +00:00
Fixing csharp wrapper
This commit is contained in:
parent
375b821b9f
commit
455e0b71e5
1 changed files with 5 additions and 1 deletions
|
|
@ -183,7 +183,11 @@ namespace Linphone
|
|||
obj.nativePtr = ptr;
|
||||
obj.handle = GCHandle.Alloc(obj, GCHandleType.WeakTrackResurrection);
|
||||
objPtr = GCHandle.ToIntPtr(obj.handle);
|
||||
belle_sip_object_data_set(ptr, "cs_obj", objPtr, IntPtr.Zero);
|
||||
#if WINDOWS_UWP
|
||||
belle_sip_object_data_set(ptr, "cs_obj", objPtr, IntPtr.Zero);
|
||||
#else
|
||||
belle_sip_object_data_set(ptr, "cs_obj", objPtr, null);
|
||||
#endif
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue