I managed to resolve all the problems I had - and the following code
works just fine. With a small change
th...@myclass::foo(Lcom/google/gwt/core/client/JavaScriptObject;)
(bar); (notice the L before com/...)

On Apr 13, 9:30 am, markovuksanovic <[email protected]> wrote:
> I have a native method, and need to make a recursive call... Is this
> the correct way to do it?
>
> protected native JavaScriptObject foo(JavaScriptObject bar) /*-{
>   ...
>   th...@myclass::foo(com/google/gwt/core/client/JavaScriptObject;)
> (bar);
>   ...
>   return bar
>
> }-*/
>
> I'm getting some errors so I'd like to eliminate the possibility that
> I made a wrong call to the native method...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to