aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/pyenum.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>
* Fix problems with dllimport/dllexport in some shiboken functions/variables.Hugo Parente Lima2010-08-191-3/+3
|
* API fixes.Renato Filho2010-05-181-3/+3
| | | | | | | | | * 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>
* Added enum meta type, this will ease you to known if a PyObject is a ↵Hugo Lima2010-04-051-0/+7
| | | | Shiboken enum.
* All enums are now extensible to match the C++ casting behaviour.Marcelo Lira2010-02-201-1/+0
| | | | | | | | | | | | | | | Now the user can build new values of a particular enum type passing an integer to its constructor. Thus, the following C++ code: MyEnum val = (MyEnum) 1; is the equivalent of this Python code: val = MyEnum(1) The enum unit tests were also updated. Reviewed by Lauro Moura <lauro.neto@openbossa.org>
* Renamed a lot of Shiboken things with "Py" prefix to use "Sbk" prefix.Marcelo Lira2009-12-081-6/+6
| | | | | | | | | | | | | | To avoid confusion of Python stuff with Shiboken generated stuff. For example: a C++ class called "String" would have the PyString_Type wrapper generated for it, mixing with the proper Python PyString_Type; now the generate code will have things like SbkString_Type, SbkString_New, SbkString_someMethod, and so on. PyBaseWrapper and its variants were renamed to SbkBaseWrapper. PyType<T>() is now SbkType<T>() PyEnumObject was renamed to SbkEnumObject.
* Add visibility policies to libshiboken and for bindings generated by ↵Hugo Lima2009-11-121-5/+6
| | | | | | | | | | shiboken generator. As shiboken generator needs minor changes to support inter-module dependencies, these changes about symbol visibility does not support inter-module dependencies, however support it is simple, because we just need to make some symbols visible to other DSO's. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
* updated Python representation of C++ enums and flags (only QFlags at theMarcelo Lira2009-11-051-4/+4
| | | | | | | moment): the enum/flags numeric operators are shorter and only flags allow new instances to be created and the libshiboken Reviewd by Luciano Wolf <luciano.wolf@openbossa.org>
* fixed some typos on license platesBruno dos Santos de Araujo2009-09-021-1/+1
|
* The End Is the Beginning Is the EndMarcelo Lira2009-08-171-0/+68