| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
exception.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
| |
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
|
|
| |
This function allow the programmer discovery if a type is Object or
Value type.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
| |
Reviewer: Renato Araújo <renato.araujo@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
|
| |
|
|
|
|
|
|
| |
to implement this function (inlining it when needed).
This safe amazings 8KiB from QtGui :-)
|
|
|
|
| |
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
|
|
The problem:
- There are two class, A and B, B inherits from A.
- You are inside a virtual method reimplemented in python with just one parameter of type A*.
- But the object referenced by a variable of type A* is an instance of B and it was created by C++,
not Python!
- Shiboken needs to create a PyObject of type B, not A! This does not makes sense for C++, but does
for Python, because python variables does not store type information, just values.
To achieve this we use RTTI to get the real type name of a variable, then we create the PyObject using
the TypeResolver infrastructure initially developed to help with signal slot problems. In other words,
the TypeResolver class has been moved from libpyside to libshiboken.
|