summaryrefslogtreecommitdiff
path: root/girepository/gitypelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/gitypelib.h')
-rw-r--r--girepository/gitypelib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/girepository/gitypelib.h b/girepository/gitypelib.h
index 0726bf19..7d0a6654 100644
--- a/girepository/gitypelib.h
+++ b/girepository/gitypelib.h
@@ -29,6 +29,8 @@
#include <glib.h>
+#include <giversionmacros.h>
+
G_BEGIN_DECLS
/**
@@ -46,19 +48,29 @@ G_BEGIN_DECLS
*/
typedef struct _GITypelib GITypelib;
+GI_AVAILABLE_IN_ALL
GITypelib * g_typelib_new_from_memory (guint8 *memory,
gsize len,
GError **error);
+
+GI_AVAILABLE_IN_ALL
GITypelib * g_typelib_new_from_const_memory (const guint8 *memory,
gsize len,
GError **error);
+
+GI_AVAILABLE_IN_ALL
GITypelib * g_typelib_new_from_mapped_file (GMappedFile *mfile,
GError **error);
+
+GI_AVAILABLE_IN_ALL
void g_typelib_free (GITypelib *typelib);
+GI_AVAILABLE_IN_ALL
gboolean g_typelib_symbol (GITypelib *typelib,
const gchar *symbol_name,
gpointer *symbol);
+
+GI_AVAILABLE_IN_ALL
const gchar * g_typelib_get_namespace (GITypelib *typelib);