Changed a variable name from cdecl to cdecl_. The reason for the change

is this caused VC++ 8.0 to throw an error when trying to compile SWIG.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Charlie Savage 2005-12-27 09:24:50 +00:00
commit e42e5b01ff

View file

@ -703,10 +703,10 @@ Swig_feature_set(Hash *features, const String_or_char *name, SwigType *decl, con
} else {
fhash = Getattr(n,decl);
if (!fhash) {
String *cdecl = Copy(decl);
String *cdecl_ = Copy(decl);
fhash = NewHash();
Setattr(n,cdecl,fhash);
Delete(cdecl);
Setattr(n,cdecl_,fhash);
Delete(cdecl_);
Delete(fhash);
}
}