java-gobject-introspection r134 - in trunk/src/org/gnome/gir: compiler repository
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: java-gobject-introspection r134 - in trunk/src/org/gnome/gir: compiler repository
- Date: Fri, 28 Nov 2008 00:48:20 +0000 (UTC)
Author: walters
Date: Fri Nov 28 00:48:19 2008
New Revision: 134
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=134&view=rev
Log:
Debug/analysis log tweaks
Modified:
trunk/src/org/gnome/gir/compiler/CodeFactory.java
trunk/src/org/gnome/gir/repository/ArgInfo.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 Fri Nov 28 00:48:19 2008
@@ -1080,7 +1080,9 @@
info.getTag().equals(TypeTag.INTERFACE) &&
info.getInterface() instanceof CallbackInfo) {
if (firstSeenCallback >= 0) {
- logger.warning("Skipping callable with unpaired multiple callbacks: " + si.getIdentifier());
+ int off = ctx.isMethod ? firstSeenCallback - 1 : firstSeenCallback;
+ logger.warning("Skipping callable with multiple callbacks: " + si.getIdentifier() +
+ " first:" + args[off] + " second:" + arg);
return null;
}
firstSeenCallback = argOffset;
Modified: trunk/src/org/gnome/gir/repository/ArgInfo.java
==============================================================================
--- trunk/src/org/gnome/gir/repository/ArgInfo.java (original)
+++ trunk/src/org/gnome/gir/repository/ArgInfo.java Fri Nov 28 00:48:19 2008
@@ -27,4 +27,9 @@
public TypeInfo getType() {
return Repository.getNativeLibrary().g_arg_info_get_type(this);
}
+
+ @Override
+ public String toString() {
+ return "<" + getClass().getSimpleName() + " ns=" + getNamespace() + " name=" + getName() + " tag=" + getType().getTag() + ">";
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]