Fixed %apply merging problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c6e5483953
commit
1c14592d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ Swig_typemap_clear(char *op, SwigType *type, String_or_char *name) {
|
|||
static void merge_attributes(Hash *target, Hash *source) {
|
||||
String *key;
|
||||
for (key = Firstkey(source); key; key = Nextkey(source)) {
|
||||
if (Getattr(target,key)) continue;
|
||||
/* if (Getattr(target,key)) continue; */
|
||||
Setattr(target,key,Getattr(source,key));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue