commit 8840f4666ca070e04e7a13b5e9f7b7c00a7a20e2
parent 30216021755c72716db33c0342f293e5a7f91228
Author: Tomas Hlavaty <tom@logand.com>
Date: Fri, 13 Jan 2012 01:21:11 +0100
pass out and inout arg as array
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/unoidl2java.c b/unoidl2java.c
@@ -139,6 +139,10 @@ static void pr_args2(Any x) { // for in, out, inout
Any a = car(x);
if(0 < i) pr(", ");
pp(caddr(a)); pr(" "); pp(cadr(a));
+ switch(kind(car(a))) {
+ case OUT:
+ case INOUT: pr("[]");
+ }
}
}