diff --git a/coreapi/contact_providers_priv.h b/coreapi/contact_providers_priv.h index d52af6c5f..6f24a18b0 100644 --- a/coreapi/contact_providers_priv.h +++ b/coreapi/contact_providers_priv.h @@ -56,11 +56,11 @@ BELLE_SIP_DECLARE_CUSTOM_VPTR_END #define LINPHONE_LDAP_CONTACT_SEARCH(obj) BELLE_SIP_CAST(obj,LinphoneLDAPContactSearch) -BELLE_SIP_DECLARE_VPTR(LinphoneLDAPContactSearch) +BELLE_SIP_DECLARE_VPTR_NO_EXPORT(LinphoneLDAPContactSearch) #define LINPHONE_LDAP_CONTACT_PROVIDER(obj) BELLE_SIP_CAST(obj,LinphoneLDAPContactProvider) -BELLE_SIP_DECLARE_CUSTOM_VPTR_BEGIN(LinphoneLDAPContactProvider,LinphoneContactProvider) +BELLE_SIP_DECLARE_CUSTOM_VPTR_BEGIN_NO_EXPORT(LinphoneLDAPContactProvider,LinphoneContactProvider) BELLE_SIP_DECLARE_CUSTOM_VPTR_END diff --git a/coreapi/misc.c b/coreapi/misc.c index 862d8f570..bfcffb9c0 100644 --- a/coreapi/misc.c +++ b/coreapi/misc.c @@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "private.h" #include "linphone/lpconfig.h" +#include "linphone/wrapper_utils.h" #include "mediastreamer2/mediastream.h" #include #include diff --git a/coreapi/private.h b/coreapi/private.h index 67c384efc..ae74b85ef 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -1436,7 +1436,7 @@ struct _LinphoneAccountCreatorService { LinphoneAccountCreatorRequestFunc update_account_request_cb; /**< Request to update account */ }; -BELLE_SIP_DECLARE_VPTR(LinphoneAccountCreatorService); +BELLE_SIP_DECLARE_VPTR_NO_EXPORT(LinphoneAccountCreatorService); struct _LinphoneAccountCreatorCbs { belle_sip_object_t base; @@ -1457,7 +1457,7 @@ struct _LinphoneAccountCreatorCbs { LinphoneAccountCreatorCbsStatusCb update_account_response_cb; /**< Response of update_account request */ }; -BELLE_SIP_DECLARE_VPTR(LinphoneAccountCreatorCbs); +BELLE_SIP_DECLARE_VPTR_NO_EXPORT(LinphoneAccountCreatorCbs); struct _LinphoneAccountCreator { belle_sip_object_t base; diff --git a/include/linphone/account_creator_service.h b/include/linphone/account_creator_service.h index a7e2bac72..1896dee92 100644 --- a/include/linphone/account_creator_service.h +++ b/include/linphone/account_creator_service.h @@ -44,7 +44,7 @@ typedef LinphoneAccountCreatorStatus (*LinphoneAccountCreatorRequestFunc)(Linpho * @return a new LinphoneAccountCreatorService object. * @donotwrap **/ -LinphoneAccountCreatorService * linphone_account_creator_service_new(void); +LINPHONE_PUBLIC LinphoneAccountCreatorService * linphone_account_creator_service_new(void); /** * Acquire a reference to a LinphoneAccountCreatorService object.