java-gobject-introspection r147 - trunk/src/org/gnome/gir/compiler
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: java-gobject-introspection r147 - trunk/src/org/gnome/gir/compiler
- Date: Sun, 7 Dec 2008 17:27:21 +0000 (UTC)
Author: walters
Date: Sun Dec 7 17:27:21 2008
New Revision: 147
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=147&view=rev
Log:
Write out generic signature for interface methods as well
Modified:
trunk/src/org/gnome/gir/compiler/CodeFactory.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 Sun Dec 7 17:27:21 2008
@@ -609,7 +609,7 @@
String name = ctx.name;
if (name.equals("new"))
name = "newDefault";
- MethodVisitor mv = compilation.writer.visitMethod(ACC_PUBLIC + ACC_STATIC + ACC_FINAL, name, descriptor, null,
+ MethodVisitor mv = compilation.writer.visitMethod(ACC_PUBLIC + ACC_STATIC + ACC_FINAL, name, descriptor, ctx.argSignature,
null);
mv.visitCode();
Label l0 = new Label();
@@ -1093,7 +1093,7 @@
continue;
String name = NameMap.ucaseToCamel(fi.getName());
String descriptor = Type.getMethodDescriptor(ctx.returnType, ctx.argTypes.toArray(new Type[0]));
- MethodVisitor mv = compilation.writer.visitMethod(ACC_PUBLIC + ACC_ABSTRACT, name, descriptor, null, null);
+ MethodVisitor mv = compilation.writer.visitMethod(ACC_PUBLIC + ACC_ABSTRACT, name, descriptor, ctx.argSignature, null);
mv.visitEnd();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]