#define U_OBJECT_PACKAGE_H_
#include <glib-object.h>
+#include <stdbool.h>
#define U_PKG_TYPE (u_pkg_get_type())
#define U_PKG(obj) \
struct UPkg {
GTypeModule parent;
+ struct upkg *pkg;
};
struct UPkgClass {
};
GType u_pkg_get_type(void);
-GTypeModule *u_pkg_new(const char *name);
+GTypeModule *u_pkg_open(const char *name);
+
+bool u_pkg_is_native(GTypeModule *pkg);
#endif