Minor patch contributed by Charles Schwieters.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-03-04 20:09:53 +00:00
commit 8bbc5fe088

View file

@ -110,6 +110,7 @@ SWIG_TypeRegister(swig_type_info *ti)
head = tc;
tc++;
}
if (next) next->prev = head; /**/
head->next = next;
return ret;
}
@ -133,6 +134,7 @@ SWIG_TypeCheck(char *c, swig_type_info *ty)
s->next = ty->next;
if (ty->next) ty->next->prev = s;
ty->next = s;
s->prev = ty; /**/
return s;
}
s = s->next;