/usr/share/swig/3.0.12/java
NameSizeModeActions
arrays_java.i137010644editdlrm
boost_intrusive_ptr.i202360644editdlrm
boost_shared_ptr.i88190644editdlrm
director.swg133330644editdlrm
enums.swg45230644editdlrm
enumsimple.swg25750644editdlrm
enumtypesafe.swg46330644editdlrm
enumtypeunsafe.swg27230644editdlrm
java.swg487300644editdlrm
javahead.swg41810644editdlrm
javakw.swg12700644editdlrm
std_array.i11660644editdlrm
std_auto_ptr.i8460644editdlrm
std_common.i1020644editdlrm
std_deque.i280644editdlrm
std_except.i20710644editdlrm
std_map.i23370644editdlrm
std_pair.i7120644editdlrm
std_shared_ptr.i680644editdlrm
std_string.i35480644editdlrm
std_vector.i26330644editdlrm
std_wstring.i50590644editdlrm
stl.i2910644editdlrm
swiginterface.i34050644editdlrm
typemaps.i182110644editdlrm
various.i58720644editdlrm
Edit: /usr/share/swig/3.0.12/java/std_auto_ptr.i (846B)
/* The typemaps here allow to handle functions returning std::auto_ptr<>, which is the most common use of this type. If you have functions taking it as parameter, these typemaps can't be used for them and you need to do something else (e.g. use shared_ptr<> which SWIG supports fully). */ %define %auto_ptr(TYPE) %typemap (jni) std::auto_ptr "jlong" %typemap (jtype) std::auto_ptr "long" %typemap (jstype) std::auto_ptr "$typemap(jstype, TYPE)" %typemap (out) std::auto_ptr %{ jlong lpp = 0; *(TYPE**) &lpp = $1.release(); $result = lpp; %} %typemap(javaout) std::auto_ptr { long cPtr = $jnicall; return (cPtr == 0) ? null : new $typemap(jstype, TYPE)(cPtr, true); } %template() std::auto_ptr; %enddef namespace std { template class auto_ptr {}; }