Re: Is there a javaargout typemap?
Lindley French <[email protected]> Sun, 17 Oct 2021 13:01:01 -0700
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <CALwtg04q+2OKe3pZQ_2U7LyQHmeYbnFeBpOtmsHNcXug5HOEnw@mail.gmail.com> |
The answer turned out to be the 'pre' and 'post' attributes of javain: http://www.swig.org/Doc1.3/Java.html#typemap_attributes On Sun, Oct 17, 2021 at 10:46 AM Lindley French <[email protected]> wrote: > I'm trying to make output arguments work and I'm running into the > fundamental problem that since jstype and jtype are not the same, they may > not reference the same Java object. > > So while my argout typemap is doing the right thing and populating the > jobject passed in, this is the jtype object, which isn't necessarily the > same as the jstype object the user passed in. > > Furthermore, since the javain typemap is just an expression, there's no > obvious way to arrange for it to propagate the jtype data back to the > jstype after the call. > > What am I missing here? > _______________________________________________ Swig-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swig-user