Fix typos in attribute2ref() in Lib/typemaps/attribute.swg

AccessorName was being used instead of AttributeName.

Closes #1872.
This commit is contained in:
Zackery Spytz 2021-02-09 09:21:14 -07:00
commit bcfa927298
3 changed files with 7 additions and 1 deletions

View file

@ -224,7 +224,7 @@
#if #AccessorMethod != ""
%attribute_custom(%arg(Class), %arg(AttributeType), AttributeName, AccessorMethod, AccessorMethod, &self_->AccessorMethod(), self_->AccessorMethod() = *val_)
#else
%attribute_custom(%arg(Class), %arg(AttributeType), AccessorName, AccessorName, AccessorName, &self_->AccessorName(), self_->AccessorName() = *val_)
%attribute_custom(%arg(Class), %arg(AttributeType), AttributeName, AttributeName, AttributeName, &self_->AttributeName(), self_->AttributeName() = *val_)
#endif
%enddef