William S Fulton
3dcc501ac0
Spelling fix
2014-10-21 07:55:07 +01:00
William S Fulton
07ce3fb746
Add testcase for %attributestring on shared_ptr
2014-01-11 19:34:22 +00:00
Artem Serebriyskiy
3e188e508d
Add test case for attributes with moderately complex templates
...
* New test case tests that %attribute macros correctly supports passing
template with multiple parameters as class name or attribute type name
* Some further changes were made to %attribute macros - now
AttributeType is protected with %arg as well. This allows you
to have attributes of type e.g. std::pair<int,int> etc
Update CHANGES file for %attribute template fixes
Closes #48
2013-05-25 00:44:36 +01:00
Artem Serebriyskiy
3357ee85cd
Fix all attributes macroses
2013-05-25 00:37:57 +01:00
Olly Betts
71dddaa2de
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
2010-05-26 08:21:03 +00:00
William S Fulton
4308dd03cf
SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
William S Fulton
589eb8e509
Add %attributeval and %attributestring to attribute.swg library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-13 22:42:45 +00:00
William S Fulton
2a89d09add
attribute tidy up. %attributeref replaces %attribute_ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:27:21 +00:00
William S Fulton
acb5bde28c
Patch #1797133 from David Piepgrass fixes %attribute when the getter has the same name as the attribute name and no longer generate non-functional setter for read-only attributes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 21:57:51 +00:00
William S Fulton
49be05f4fd
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +00:00
Marcelo Matus
507a8184cc
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
Marcelo Matus
f9a28cdec7
documenting attribute.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:48:56 +00:00
Marcelo Matus
db4f2f71a1
add attribute.i for other languages that don't use the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:14:49 +00:00
Marcelo Matus
97874a090a
use macros by default and cosmetic changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:51:16 +00:00
Marcelo Matus
8be1b7a07c
move attribute.i to the typemap library, now is usable from all the languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00