diff --git a/include/linphone/api/c-factory.h b/include/linphone/api/c-factory.h index ab2a2d9476fe065a6f3c2c763bab2c2746c82e31..532a128f37bc09466cb35a139bd283aa9890044b 100644 --- a/include/linphone/api/c-factory.h +++ b/include/linphone/api/c-factory.h @@ -454,7 +454,7 @@ LINPHONE_PUBLIC LinphoneConfig *linphone_factory_create_config(LinphoneFactory * * Creates an object #LinphoneConfig * @param factory the #LinphoneFactory @notnil * @param path the path of the config @maybenil - * @param path the path of the factory @maybenil + * @param factory_path the path of the factory @maybenil * @return a #LinphoneConfig @notnil */ LINPHONE_PUBLIC LinphoneConfig *linphone_factory_create_config_with_factory(LinphoneFactory *factory, const char *path, const char *factory_path); diff --git a/tools/metadoc.py b/tools/metadoc.py index 8a0f2a6e605b596ba09c5d1b69263e53d858a110..744704b09081970910f58f1d3573f930d57d9d81 100644 --- a/tools/metadoc.py +++ b/tools/metadoc.py @@ -337,7 +337,10 @@ class Parser: match = self.constants_regex.search(text) while match is not None: - if match.start(1)-lastIndex > 0: + if match.start(1) == 0 and lastIndex == 0: + # Special case when text starts by constant + parts.append(self._parse_constant(text[match.start(1):match.end(1)])) + elif match.start(1)-lastIndex > 0: parts.append(TextPart(text[lastIndex:match.start(1)])) parts.append(self._parse_constant(text[match.start(1):match.end(1)])) lastIndex = match.end(1) diff --git a/wrappers/java/jni.mustache b/wrappers/java/jni.mustache index fbd4047c1d9371cf47f755d28e6a8260d372a056..bc69b1194326c1ba583e5bb4eee834a332ea9fc3 100644 --- a/wrappers/java/jni.mustache +++ b/wrappers/java/jni.mustache @@ -547,7 +547,6 @@ JNIEXPORT jobject JNICALL Java_{{jni_package}}CoreImpl_getMediastreamerFactory(J {{#notEmpty}} JNIEXPORT {{return}} JNICALL {{name}}({{params}}) { {{#notStatic}}{{classCName}} *cptr = ({{classCName}}*)ptr; - {{#isLinphoneFactory}}cptr = linphone_factory_get();{{/isLinphoneFactory}} if (cptr == nullptr) { bctbx_error("{{name}}'s {{classCName}} C ptr is null!"); {{#hasListReturn}}