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:
parent
6be83e742b
commit
8bbc5fe088
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue