Removed contract code from swigmod.h. Violates intended modularity of this file.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-10-09 15:57:54 +00:00
commit 62c35e3579
5 changed files with 47 additions and 38 deletions

View file

@ -61,7 +61,7 @@ class TypePass : public Dispatcher {
}
qty = SwigType_typedef_qualified(ty);
/* Printf(stdout,"%s --> %s\n", ty, qty);*/
/* Printf(stdout,"%s --> %s\n", ty, qty); */
Clear(ty);
Append(ty,qty);
Delete(qty);
@ -73,7 +73,6 @@ class TypePass : public Dispatcher {
while (p) {
SwigType *ty = Getattr(p,"type");
normalize_type(ty);
/* This is a check for a function type */
{
SwigType *qty = SwigType_typedef_resolve_all(ty);