X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/dc739f280f430ad323594ab38adf1e85b5ac0efd..d42028c588b512b26c3c4fea718cffcab602b74c:/src/uobject/package.h diff --git a/src/uobject/package.h b/src/uobject/package.h index 697abd2..5e60a18 100644 --- a/src/uobject/package.h +++ b/src/uobject/package.h @@ -38,6 +38,7 @@ typedef struct UPkgClass UPkgClass; struct UPkg { GTypeModule parent; + struct upkg *pkg; }; struct UPkgClass { @@ -45,7 +46,8 @@ struct UPkgClass { }; GType u_pkg_get_type(void); -GTypeModule *u_pkg_new(const char *name); +GTypeModule *u_pkg_new_by_name(const char *name); +GTypeModule *u_pkg_new_by_file(const char *filename); const char *u_pkg_get_search_path(void); int u_pkg_set_search_path(const char *path);