aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/typeresolver.h
Commit message (Collapse)AuthorAgeFilesLines
* Removed useless stuff from TypeResolver.Hugo Parente Lima2012-03-081-6/+4
|
* Remove SbkTypeInfo and CppObjectCopier structs, they aren't needed after the ↵Hugo Parente Lima2012-03-081-11/+6
| | | | fix on qt_metacall.
* Remove objectDeleter function and use the well known ↵Hugo Parente Lima2012-03-081-7/+1
| | | | Shiboken::callCppDestructor.
* Created private pointer for Shiboken Meta Type.Renato Araujo Oliveira Filho2012-03-081-2/+0
| | | | | | | Renamed ObjectType to BaseType. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* SbkBaseWrapperType renamed to SbkObjectType.Hugo Parente Lima2012-03-081-1/+1
|
* SbkBaseWrapperType and some other functions used by Python C-API moved ↵Hugo Parente Lima2012-03-081-2/+2
| | | | outside C++ namespaces.
* Implemented support to conversion without memory allocation.renatofilho2012-03-081-7/+11
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
* 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>
* Create getType function on TypeResolver.Renato Filho2010-06-171-0/+8
| | | | | | | | 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>
* Automatically register all primitive types on TypeResover.Hugo Parente Lima2010-06-101-0/+6
| | | | | Reviewer: Renato Araújo <renato.araujo@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
* Do not get the pointer of SbkType<T> function, so the compiler doesn't needHugo Lima2010-02-261-3/+3
| | | | | | to implement this function (inlining it when needed). This safe amazings 8KiB from QtGui :-)
* Implemented type discovery feature.Hugo Lima2010-01-141-0/+113
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.