java-gobject-introspection r73 - in trunk/src/org/gnome/gir: compiler repository



Author: walters
Date: Thu Oct  2 13:56:39 2008
New Revision: 73
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=73&view=rev

Log:
Support new GType tag


Modified:
   trunk/src/org/gnome/gir/compiler/CodeFactory.java
   trunk/src/org/gnome/gir/repository/TypeTag.java

Modified: trunk/src/org/gnome/gir/compiler/CodeFactory.java
==============================================================================
--- trunk/src/org/gnome/gir/compiler/CodeFactory.java	(original)
+++ trunk/src/org/gnome/gir/compiler/CodeFactory.java	Thu Oct  2 13:56:39 2008
@@ -277,6 +277,8 @@
 			return Type.DOUBLE_TYPE;
 		if (tag == TypeTag.TIMET)
 			return Type.getType(Date.class);
+		if (tag == TypeTag.GTYPE)
+			return Type.getType(GType.class);		
 		if (tag == TypeTag.UTF8)
 			return Type.getType(String.class);
 		if (tag == TypeTag.FILENAME)

Modified: trunk/src/org/gnome/gir/repository/TypeTag.java
==============================================================================
--- trunk/src/org/gnome/gir/repository/TypeTag.java	(original)
+++ trunk/src/org/gnome/gir/repository/TypeTag.java	Thu Oct  2 13:56:39 2008
@@ -45,6 +45,7 @@
 	FLOAT, 
 	DOUBLE,
 	TIMET,
+	GTYPE,	
 	UTF8, 
 	FILENAME, 
 	ARRAY, 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]