kkaempf / swig-issues

Issues from SWIG (testing)
0 stars 0 forks source link

arrays_java.i fails to copy arguments in and out of director #56

Open SwigAtSF opened 11 years ago

SwigAtSF commented 11 years ago

The arrays_java.i fails to generate the correct copy code to handle arguments that need to be copied in and out of directors.

The supplied patch adds:

  • some code to java.cxx to lookup the typemap directorargout
  • mods to arrays_java.i to handle copying the arguments and to handle const results for arrayOut.
  • a test case

Regards Mark Donszelmann

SwigAtSF commented 11 years ago

diff against CVS HEAD 2006-11-07

SwigAtSF commented 11 years ago

Logged In: YES user_id=800216

add another patch to avoid const declarations for c code.

SwigAtSF commented 11 years ago

On top of previous patch