summaryrefslogtreecommitdiff
path: root/gobject-introspection/gidlmodule.h
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2007-05-02 09:42:00 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-05-02 09:42:00 +0000
commitf8387ad143f1884f8f5f89bd5389605624f4c34f (patch)
treee75e563fc9535200ec146af72962e80778359ae4 /gobject-introspection/gidlmodule.h
parent9db973114ee1449c1764404163ecc8294f8e73d2 (diff)
downloadvala-f8387ad143f1884f8f5f89bd5389605624f4c34f.tar.gz
Move contents of vala-pkg to trunk
2007-05-02 Jürg Billeter <j@bitron.ch> * Move contents of vala-pkg to trunk svn path=/trunk/; revision=300
Diffstat (limited to 'gobject-introspection/gidlmodule.h')
-rw-r--r--gobject-introspection/gidlmodule.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/gobject-introspection/gidlmodule.h b/gobject-introspection/gidlmodule.h
new file mode 100644
index 000000000..17135764c
--- /dev/null
+++ b/gobject-introspection/gidlmodule.h
@@ -0,0 +1,47 @@
+/* GObject introspection: Parsed IDL
+ *
+ * Copyright (C) 2005 Matthias Clasen
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __G_IDL_MODULE_H__
+#define __G_IDL_MODULE_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+
+typedef struct _GIdlModule GIdlModule;
+
+struct _GIdlModule
+{
+ gchar *name;
+ GList *entries;
+};
+
+GIdlModule *g_idl_module_new (const gchar *name);
+void g_idl_module_free (GIdlModule *module);
+
+void g_idl_module_build_metadata (GIdlModule *module,
+ GList *modules,
+ guchar **metadata,
+ gsize *length);
+
+G_END_DECLS
+
+#endif /* __G_IDL_MODULE_H__ */