strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a105903188
commit
6f5b5d3b7c
4 changed files with 49 additions and 1 deletions
|
|
@ -342,7 +342,8 @@ SwigType *SwigType_default(SwigType *t) {
|
|||
def = NewString("SWIGTYPE");
|
||||
}
|
||||
if (r != t) Delete(r);
|
||||
Setattr(default_cache,t,Copy(def));
|
||||
/* The cache produces strange results, see enum_template.i case */
|
||||
/* Setattr(default_cache,t,Copy(def)); */
|
||||
if (Strcmp(def,t) == 0) {
|
||||
Delete(def);
|
||||
def = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue