aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testconversionruletag.h
Commit message (Collapse)AuthorAgeFilesLines
* Added improved functionality for the 'conversion-rule' tag.Marcelo Lira2012-03-091-2/+5
| | | | | | | | | | | | | It works for primitive, container and value types. Object types doesn't have conversion rules because they can not have implicit conversions, and the regular conversion is always the same (get C++ object held on Python wrapper, and finding/creating a Python wrapper to a C++ pointer). Unit tests were added. Documentation was updated. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
* conversion-rule tag now works inside value-type and object-type tags.Marcelo Lira2009-10-261-0/+35
To access the conversion rule, use the new method TypeEntry->conversionRule NOTE: this commit is a modification of code produced by Hugo Parente.