mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 07:08:11 +00:00
Do not access the internal C++ pointer directly, use the c-tools macro for that.
This commit is contained in:
parent
f8f072fb3d
commit
7c4de39e80
1 changed files with 2 additions and 2 deletions
|
|
@ -516,8 +516,8 @@ void linphone_call_params_unref(LinphoneCallParams *cp) {
|
|||
|
||||
LinphoneCallParams * linphone_call_params_new(LinphoneCore *core) {
|
||||
LinphoneCallParams *params = _linphone_call_params_init();
|
||||
params->cppPtr = new LinphonePrivate::MediaSessionParams();
|
||||
params->cppPtr->initDefault(core);
|
||||
L_SET_CPP_PTR_FROM_C_STRUCT(params, new LinphonePrivate::MediaSessionParams());
|
||||
GET_MEDIA_CPP_PTR(params)->initDefault(core);
|
||||
return params;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue