You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/04/29 12:45:51 UTC
[celix] branch master updated: Fix binary backward compatibility to
celix 2.1 (#339)
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/master by this push:
new 9513675 Fix binary backward compatibility to celix 2.1 (#339)
new 39a3d2e Merge pull request #340 from tira-misu/bugfix/compatible2.1
9513675 is described below
commit 951367575f1d465b32ec879b23cbb469f852b151
Author: Burchardt Gunter (DC-AE/ESW2) <gu...@boschrexroth.de>
AuthorDate: Mon Apr 26 14:56:36 2021 +0200
Fix binary backward compatibility to celix 2.1 (#339)
---
libs/framework/src/dm_dependency_manager_impl.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libs/framework/src/dm_dependency_manager_impl.c b/libs/framework/src/dm_dependency_manager_impl.c
index 134e1c1..594d93c 100644
--- a/libs/framework/src/dm_dependency_manager_impl.c
+++ b/libs/framework/src/dm_dependency_manager_impl.c
@@ -302,7 +302,7 @@ void celix_dependencyManager_destroyInfos(celix_dependency_manager_t *manager, c
celix_status_t dependencyManager_create(bundle_context_pt context, celix_dependency_manager_t **out) {
celix_status_t status = CELIX_SUCCESS;
- celix_dependency_manager_t *manager = celix_private_dependencyManager_create(context);
+ celix_dependency_manager_t *manager = celix_bundleContext_getDependencyManager(context);
if (manager != NULL) {
*out = manager;
} else {
@@ -312,7 +312,6 @@ celix_status_t dependencyManager_create(bundle_context_pt context, celix_depende
}
void dependencyManager_destroy(celix_dependency_manager_t *manager) {
- celix_private_dependencyManager_destroy(manager);
}
celix_status_t dependencyManager_add(celix_dependency_manager_t *manager, celix_dm_component_t *component) {