Commit f9986484 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Ugly workaround to fix C++ wrapper

parent ea585a1e
......@@ -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) {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment