Patch submitted by F. Postma for compiling on HP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a09cc47190
commit
4890710cde
1 changed files with 2 additions and 1 deletions
|
|
@ -661,7 +661,8 @@ class JAVA : public Language {
|
|||
}
|
||||
|
||||
// Get any Java exception classes in the throw typemap
|
||||
if (ParmList *throw_parm_list = Getattr(n,"throws")) {
|
||||
ParmList *throw_parm_list = NULL;
|
||||
if (throw_parm_list = Getattr(n,"throws")) {
|
||||
Swig_typemap_attach_parms("throws", throw_parm_list, f);
|
||||
for (p = throw_parm_list; p; p=nextSibling(p)) {
|
||||
if ((tm = Getattr(p,"tmap:throws"))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue