Minor patch contributed by Charles Schwieters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4e4146b480
commit
d1ed2ab72e
1 changed files with 2 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ SWIG_TypeRegister(swig_type_info *ti)
|
||||||
head = tc;
|
head = tc;
|
||||||
tc++;
|
tc++;
|
||||||
}
|
}
|
||||||
|
if (next) next->prev = head; /**/
|
||||||
head->next = next;
|
head->next = next;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
@ -133,6 +134,7 @@ SWIG_TypeCheck(char *c, swig_type_info *ty)
|
||||||
s->next = ty->next;
|
s->next = ty->next;
|
||||||
if (ty->next) ty->next->prev = s;
|
if (ty->next) ty->next->prev = s;
|
||||||
ty->next = s;
|
ty->next = s;
|
||||||
|
s->prev = ty; /**/
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
s = s->next;
|
s = s->next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue