]> git.draconx.ca Git - upkg.git/blobdiff - src/upkg.c
uobject: Clean up the module loader namespace.
[upkg.git] / src / upkg.c
index 4e524ef8cc2912bb9a83494a6c0fa49146148777..c8d2469ae7578039acf5411ce11096683d9479b5 100644 (file)
@@ -202,7 +202,7 @@ int package_export(struct upkg *pkg)
                        return EXIT_FAILURE;
                }
 
-               type = module_get_class(package, class);
+               type = uobject_module_get_class(package, class);
                if (!type) continue;
 
                obj = g_object_new(type, NULL);
@@ -253,7 +253,7 @@ int main(int argc, char **argv)
                return EXIT_FAILURE;
        }
 
-       if (module_init() != 0)
+       if (uobject_module_init() != 0)
                return EXIT_FAILURE;
 
        pkg = upkg_fopen(argv[optind]);
@@ -272,6 +272,6 @@ int main(int argc, char **argv)
        }
 
        upkg_close(pkg);
-       module_exit();
+       uobject_module_exit();
        return rc;
 }