]> git.draconx.ca Git - upkg.git/blobdiff - src/uobject/package.h
package: Get rid of separate mechanisms for opening packages.
[upkg.git] / src / uobject / package.h
index 5e60a18d3467fc0bdb68d46b9ce60f194ba6cd03..03d9b01c78ef0a81bba0e5867890f1febf82f75a 100644 (file)
@@ -46,8 +46,7 @@ struct UPkgClass {
 };
 
 GType u_pkg_get_type(void);
-GTypeModule *u_pkg_new_by_name(const char *name);
-GTypeModule *u_pkg_new_by_file(const char *filename);
+GTypeModule *u_pkg_open(const char *name);
 
 const char *u_pkg_get_search_path(void);
 int u_pkg_set_search_path(const char *path);