aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/oddbool.h
Commit message (Collapse)AuthorAgeFilesLines
* Change the license boiler plates of all LGPL files removing the special ↵Hugo Parente Lima2010-09-091-20/+8
| | | | | | | exception. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
* fixed tests exported symbols.Renato Filho2010-08-181-5/+5
| | | | | Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
* API fixes.Renato Filho2010-05-181-1/+2
| | | | | | | | | * Export enums without macro * Declare virtual destructor on all classes with virtual functions * Fix extern "C" declaration scope Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
* Fix custom converters from libsample.Hugo Lima2010-01-151-1/+1
|
* Added visibility rules to libsample.Hugo Lima2009-11-231-2/+4
|
* Added missing LGPL copyright header to libsample/oddbool.hMarcelo Lira2009-09-011-0/+33
|
* Changed generator to convert the method call results on wrapped methodsMarcelo Lira2009-09-011-0/+47
at each possible call, instead of receiving the return value in the C++ type and converting it later. Having the result value as a PyObject pointer avoids the problem of declaring the return value variable with a class that do not have a simple constructor. Example: "Foo resultValue;" is a problem when the only constructor for "Foo" is "Foo(int)". The above described problem is made worse with the addition of OddBool and OddBoolUser cases to the sample library. OddBool is registered as a primitive (and convertible) type, registered this way it is only available as a TypeEntry and a suitable constructor cannot possibly be found. This is different from Value and Object types for they become AbstractMetaClass objects and all constructor signatures can be queried.