mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Ugly workaround to fix C++ wrapper
This commit is contained in:
parent
ea585a1ef6
commit
f9986484c0
2 changed files with 20 additions and 0 deletions
|
|
@ -83,6 +83,16 @@ LINPHONE_PUBLIC void linphone_chat_message_resend_2(LinphoneChatMessage *msg);
|
|||
*/
|
||||
LINPHONE_PUBLIC void *linphone_vcard_get_belcard(LinphoneVcard *vcard);
|
||||
|
||||
/**
|
||||
* @brief Increases the reference counter of #LinphoneDialPlan objects.
|
||||
*/
|
||||
LINPHONE_PUBLIC LinphoneDialPlan *linphone_dial_plan_ref(LinphoneDialPlan *dp);
|
||||
|
||||
/**
|
||||
* @brief Decreases the reference counter of #LinphoneDialPaln objects.
|
||||
*/
|
||||
LINPHONE_PUBLIC void linphone_dial_plan_unref(LinphoneDialPlan *dp);
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -76,3 +76,13 @@ const bctbx_list_t *linphone_dial_plan_get_all_list () {
|
|||
bool_t linphone_dial_plan_is_generic (const LinphoneDialPlan *ccc) {
|
||||
return L_GET_CPP_PTR_FROM_C_OBJECT(ccc)->isGeneric();
|
||||
}
|
||||
|
||||
/* Ugly workaround for C++ wrapper */
|
||||
|
||||
LinphoneDialPlan *linphone_dial_plan_ref(LinphoneDialPlan *dp) {
|
||||
return dp;
|
||||
}
|
||||
|
||||
void linphone_dial_plan_unref(LinphoneDialPlan *dp) {
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue