aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/sbkenum.h
Commit message (Collapse)AuthorAgeFilesLines
* Update enum implemantation.Renato Filho2012-03-081-0/+1
|
* Using Py_TYPE macro instead of direct access to ob_type to work with Python ↵Hugo Parente Lima2012-03-081-1/+1
| | | | | | 2.x and 3.x. Enclosing PyCObject uses inside #ifdefs
* Added sbkpython.h to deal with conflicts and missing symbols between ↵Hugo Parente Lima2012-03-081-1/+1
| | | | Python2 and 3.
* Mark deprecated functions as deprecated.Hugo Parente Lima2012-03-081-1/+2
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* Added functions to provide a cleaner enum and flags initialization.Marcelo Lira2012-03-081-0/+35
| | | | | | | | | | | The functions are: Shiboken::Enum::createGlobalEnum() Shiboken::Enum::createScopedEnum() Shiboken::Enum::createGlobalEnumItem() Shiboken::Enum::createScopedEnumItem() Also updated the generator to make use of them.
* Now the generated code stores the enum cpp name on the PyThon type.Renato Filho2012-03-081-1/+5
| | | | | | | | | | | | This is necessary for finding out the enum name during the signal match function. Fixed the signal register function for signals with default values. Fixes bug #903. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Fixed enum __repr__ function.Renato Araujo Oliveira Filho2012-03-081-0/+1
| | | | | | | fixes bug #617. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Create enum python types on the fly, avoiding generation of structs and ↵Hugo Parente Lima2012-03-081-18/+9
| | | | duplication of many C functions.
* pyenum.{h|cpp} moved to sbkenum.{h|cpp}Hugo Parente Lima2012-03-081-0/+63