commit 729b5be1578d20a18259ef1a41752030e123a132
parent b8fd8630bb9ce64569261513fbacac7fbc675e4d
Author: Tomas Hlavaty <tom@logand.com>
Date: Sun, 15 Jan 2012 11:05:44 +0100
oneway typeinfo detected
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unoidl2java.c b/unoidl2java.c
@@ -250,8 +250,8 @@ static Any pr_TypeInfo1(void *env, Any x) {
break;
case METHOD: // (method queryInterface NIL (any) ((in aType (type))))
method = cadr(x);
- // TODO ONEWAY
f |= type_flags(cadddr(x));
+ if(!null(caddr(x))) f |= _ONEWAY;
pr_TypeInfo2("Method", method, f, env, -1);
int i = -1;
mapc(&i, pr_TypeInfo1, caddddr(x));