Skip to content
Snippets Groups Projects
Commit 3ef3fa67 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: fix Java SWIG wrappers

* Fix segfault in Registry::CreateApplication, but still return an Application object, not Application_Pointer
  This is done by renaming the original Registry::CreateApplication method to Registry::CreateApplicationInternal,
  and then creating an artificial Registry::CreateApplication method in Java which calls CreateApplicationInternal,
  and then __deref__ on the result to get an Application object
* need to comment out %ignore itkClass##_Pointer so that Application_Pointer is wrapped
* add necessary typemaps (inspired from SWIG Java doc) for converting between C++ std::vector<std::string> to/from Java String[]
parent 42e98e9b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment