fix handling of return values of methods called by QtApplication.invokeDelegate

Review Request #103750 - Created Jan. 20, 2012 and submitted

Marijn Kruisselbrink
QtApplication.invokeDelegate as it was written could never pass the return value of the invoked method back to its caller, as all it did was assign it to its local parameter (and since java always passes parameters by value this has zero effect). This fixes that by passing the return value parameter as an array, that way we can assign the value to a member of this array, and thus get around java's non-existing support for pass-by-reference parameters.

BogDan Vatra
Marijn Kruisselbrink
Review request changed

Status: Closed (submitted)