diff options
author | Johan Dahlin <johan@gnome.org> | 2008-08-09 12:55:32 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-09 12:55:32 +0000 |
commit | cc78fea77ee35f8417caff0cc5162f37d0a24595 (patch) | |
tree | a35b270865f1e2cd935ad08cc2f373b994f4d778 /girepository/girepository.h | |
parent | 8fba41763cdfbb93fbd50f4fd9e2ced9247b94d0 (diff) | |
download | gobject-introspection-cc78fea77ee35f8417caff0cc5162f37d0a24595.tar.gz |
Rename metadata to typelib in variable names, comments and apis.
2008-08-09 Johan Dahlin <johan@gnome.org>
* *.[ch]:
Rename metadata to typelib in variable names,
comments and apis.
svn path=/trunk/; revision=339
Diffstat (limited to 'girepository/girepository.h')
-rw-r--r-- | girepository/girepository.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/girepository/girepository.h b/girepository/girepository.h index ae5e2c58..010712e7 100644 --- a/girepository/girepository.h +++ b/girepository/girepository.h @@ -73,7 +73,7 @@ struct _GIRepositoryClass GType g_irepository_get_type (void) G_GNUC_CONST; GIRepository *g_irepository_get_default (void); const gchar * g_irepository_register (GIRepository *repository, - GTypelib *metadata); + GTypelib *typelib); void g_irepository_unregister (GIRepository *repository, const gchar *namespace); const gchar * g_irepository_register_file (GIRepository *repository, @@ -94,21 +94,21 @@ GIBaseInfo * g_irepository_get_info (GIRepository *repository, gint index); const gchar * g_irepository_get_shared_library (GIRepository *repository, const gchar *namespace); -/* Metadata */ +/* Typelib */ GTypelib * g_typelib_new_from_memory (guchar *memory, gsize len); GTypelib * g_typelib_new_from_const_memory (const guchar *memory, gsize len); GTypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile); -void g_typelib_free (GTypelib *metadata); -void g_typelib_set_module (GTypelib *metadata, +void g_typelib_free (GTypelib *typelib); +void g_typelib_set_module (GTypelib *typelib, GModule *module); -const gchar * g_typelib_get_namespace (GTypelib *metadata); +const gchar * g_typelib_get_namespace (GTypelib *typelib); typedef enum { - G_IREPOSITORY_ERROR_METADATA_NOT_FOUND, + G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND, G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH, G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND } GIRepositoryError; @@ -156,11 +156,11 @@ gboolean g_base_info_is_deprecated (GIBaseInfo *info); const gchar * g_base_info_get_annotation (GIBaseInfo *info, const gchar *name); GIBaseInfo * g_base_info_get_container (GIBaseInfo *info); -GTypelib * g_base_info_get_metadata (GIBaseInfo *info); +GTypelib * g_base_info_get_typelib (GIBaseInfo *info); -GIBaseInfo * g_info_new (GIInfoType type, - GIBaseInfo *container, - GTypelib *metadata, +GIBaseInfo * g_info_new (GIInfoType type, + GIBaseInfo *container, + GTypelib *typelib, guint32 offset); |