Fix %attribute2ref not to produce a syntax error if the last
argument (AccessorMethod) is omitted. Patch from David Piepgras in SF#2235756. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1392a6e497
commit
71dddaa2de
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
|||
Version 2.0.0 (in progress)
|
||||
============================
|
||||
|
||||
2010-05-26: olly
|
||||
Fix %attribute2ref not to produce a syntax error if the last
|
||||
argument (AccessorMethod) is omitted. Patch from David Piepgras
|
||||
in SF#2235756.
|
||||
|
||||
2010-05-26: olly
|
||||
[PHP] When using %throws or %catches, SWIG-generated PHP5 wrappers
|
||||
now throw PHP Exception objects instead of giving a PHP error of
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@
|
|||
#if #AccessorMethod != ""
|
||||
%attribute_custom(Class, AttributeType, AttributeName, AccessorMethod, AccessorMethod, &self_->AccessorMethod(), self_->AccessorMethod() = *val_)
|
||||
#else
|
||||
%attribute_custom(Class, AttributeType, AccessorMethod, AccessorMethod, AccessorMethod, &self_->AccessorMethod(), self_->AccessorMethod() = *val_)
|
||||
%attribute_custom(Class, AttributeType, AccessorName, AccessorName, AccessorName, &self_->AccessorName(), self_->AccessorName() = *val_)
|
||||
#endif
|
||||
%enddef
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue