| Top | Description |
GITypelib * g_typelib_new_from_memory (guint8 *memory,gsize len,GError **error); GITypelib * g_typelib_new_from_const_memory (const guint8 *memory,gsize len,GError **error); GITypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile,GError **error); void g_typelib_free (GITypelib *typelib); gboolean g_typelib_symbol (GITypelib *typelib,const gchar *symbol_name,gpointer *symbol); const gchar * g_typelib_get_namespace (GITypelib *typelib); GITypelib;
GITypelib * g_typelib_new_from_memory (guint8 *memory,gsize len,GError **error);
Creates a new GITypelib from a memory location. The memory block
pointed to by typelib will be automatically g_free()d when the
repository is destroyed.
|
address of memory chunk containing the typelib |
|
length of memory chunk containing the typelib |
|
a GError |
Returns : |
the new GITypelib |
GITypelib * g_typelib_new_from_const_memory (const guint8 *memory,gsize len,GError **error);
Creates a new GITypelib from a memory location.
|
address of memory chunk containing the typelib |
|
length of memory chunk containing the typelib |
|
A GError |
Returns : |
the new GITypelib |
GITypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile,GError **error);
Creates a new GITypelib from a GMappedFile.
|
a GMappedFile, that will be free'd when the repository is destroyed |
|
a GError |
Returns : |
the new GITypelib |
gboolean g_typelib_symbol (GITypelib *typelib,const gchar *symbol_name,gpointer *symbol);
Loads a symbol from GITypelib.
|
the typelib |
|
name of symbol to be loaded |
|
returns a pointer to the symbol value |
Returns : |
TRUE on success |
const gchar * g_typelib_get_namespace (GITypelib *typelib);
TODO
|
TODO |
Returns : |
TODO |