Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7c4de39e
Commit
7c4de39e
authored
Sep 14, 2017
by
Ghislain MARY
Browse files
Do not access the internal C++ pointer directly, use the c-tools macro for that.
parent
f8f072fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/c-wrapper/api/c-call-params.cpp
View file @
7c4de39e
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment