gobject-introspection r783 - in trunk: . girepository
- From: lucasr svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r783 - in trunk: . girepository
- Date: Wed, 22 Oct 2008 14:31:59 +0000 (UTC)
Author: lucasr
Date: Wed Oct 22 14:31:58 2008
New Revision: 783
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=783&view=rev
Log:
2008-10-22 Lucas Rocha <lucasr gnome org>
* girepository/girmodule.c, girepository/gtypelib.c,
girepository/girparser.[ch]: fix some build warnings.
Modified:
trunk/ChangeLog
trunk/girepository/girmodule.c
trunk/girepository/girparser.c
trunk/girepository/girparser.h
trunk/girepository/gtypelib.c
Modified: trunk/girepository/girmodule.c
==============================================================================
--- trunk/girepository/girmodule.c (original)
+++ trunk/girepository/girmodule.c Wed Oct 22 14:31:58 2008
@@ -74,7 +74,7 @@
{
GTypelib *typelib;
gsize length;
- gint i;
+ guint i;
GList *e;
Header *header;
DirEntry *entry;
Modified: trunk/girepository/girparser.c
==============================================================================
--- trunk/girepository/girparser.c (original)
+++ trunk/girepository/girparser.c Wed Oct 22 14:31:58 2008
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <glib.h>
+#include "girparser.h"
#include "girmodule.h"
#include "girnode.h"
#include "gtypelib.h"
Modified: trunk/girepository/girparser.h
==============================================================================
--- trunk/girepository/girparser.h (original)
+++ trunk/girepository/girparser.h Wed Oct 22 14:31:58 2008
@@ -26,8 +26,9 @@
G_BEGIN_DECLS
-GList *g_ir_parse_string (const gchar *buffer,
+GList *g_ir_parse_string (const gchar *namespace,
const gchar *const *includes,
+ const gchar *buffer,
gssize length,
GError **error);
GList *g_ir_parse_file (const gchar *filename,
Modified: trunk/girepository/gtypelib.c
==============================================================================
--- trunk/girepository/gtypelib.c (original)
+++ trunk/girepository/gtypelib.c Wed Oct 22 14:31:58 2008
@@ -54,7 +54,7 @@
guint32 offset,
GError **error);
-DirEntry *
+static DirEntry *
get_dir_entry_checked (GTypelib *typelib,
guint16 index,
GError **error)
@@ -876,7 +876,7 @@
guint32 offset,
GError **error)
{
- gint value_size[] = {
+ guint value_size[] = {
0, /* VOID */
4, /* BOOLEAN */
1, /* INT8 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]