From: William S F. <ws...@fu...> - 2008-07-22 19:35:49
|
Justin Bradley wrote: > SWIGgers- > I am generating some JNI using SWIG. In the enums generated by SWIG > (i.e. enum SWIGTYPE) it seems to always put the annotation > @SuppressWarnings("unused"). Is there anyway to get SWIG to NOT put > that annotation in there? Thanks. > Just copy the javabody typemap in enums.swg and paste it after your %include <enums.swg>. Modify it to what you want and this is what will then be used instead of the one shipped with SWIG. William |