diff --git a/include/linphone/core.h b/include/linphone/core.h index a515333dc..0aa2ddfd2 100644 --- a/include/linphone/core.h +++ b/include/linphone/core.h @@ -213,6 +213,7 @@ typedef struct _LinphoneCoreVTable{ /** * Instantiate a vtable with all arguments set to NULL * @return newly allocated vtable + * @donotwrap */ LINPHONE_PUBLIC LinphoneCoreVTable *linphone_core_v_table_new(void); diff --git a/wrappers/csharp/genwrapper.py b/wrappers/csharp/genwrapper.py index cc1491c5e..c74f5ad65 100644 --- a/wrappers/csharp/genwrapper.py +++ b/wrappers/csharp/genwrapper.py @@ -575,7 +575,7 @@ def main(): project.check() parser = AbsApi.CParser(project) - parser.functionBl = ['linphone_vcard_get_belcard'] + parser.functionBl = ['linphone_vcard_get_belcard', 'linphone_core_get_current_vtable'] parser.classBl += 'LinphoneCoreVTable' parser.methodBl.remove('getCurrentCallbacks') parser.parse_all() diff --git a/wrappers/csharp/wrapper_impl.mustache b/wrappers/csharp/wrapper_impl.mustache index 1477937b0..7e188b8f8 100644 --- a/wrappers/csharp/wrapper_impl.mustache +++ b/wrappers/csharp/wrapper_impl.mustache @@ -54,7 +54,7 @@ namespace Linphone { #if ANDROID setAndroidLogHandler(); -#else +#elif __IOS__ linphone_iphone_enable_logs(); #endif } @@ -216,7 +216,7 @@ namespace Linphone } } - #if ANDROID +#if ANDROID /// /// Methods that are only found in Android version of Linphone libraries and related to JNI /// @@ -238,7 +238,7 @@ namespace Linphone setMediastreamerAndroidContext(jnienv, context); } } - #endif +#endif #endregion #region Enums