commit | 61d9dd40a02b20b54fcd0d9701861cc8bd631e92 | [log] [tgz] |
---|---|---|
author | William S Fulton <wsf@fultondesigns.co.uk> | Sun Aug 12 13:45:43 2018 +0100 |
committer | William S Fulton <wsf@fultondesigns.co.uk> | Sun Aug 12 13:45:43 2018 +0100 |
tree | e4d1021048a0f8bbbe34c2d00f5bd0e2cbdd90f2 | |
parent | 99f8e12d32cf95f22f7cce3c0b4975cf0a292d48 [diff] |
Fix crash Java directors Further crash fixes when using OUTPUT and INOUT typemaps in typemaps.i and passing NULL pointers in C++ to director method overloaded and implemented in Java. Don't create the one element array in these directorin typemaps if the input is a NULL pointer, that is, translate a NULL C++ pointer into a null Java object. Also add some missing JNI error checks in these typemaps.