aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/threadstatesaver.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>
* Move ThreadStateSaver implementation from the header to a cpp file.Renato Filho2010-08-251-11/+6
| | | | | Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
* Remove export macros from inlined classes.Thomas Berg2010-04-121-1/+1
| | | | | | | | | | | The GilState and ThreadStateSaver classes are purely inline, and should not be declared with dllexport/dllimport macros. The dllimport macro forces MSVC not to inline the classes in client code, which causes linker errors, since the symbols are not included in the shiboken dll. Reviewer: Hugo Parente <hugo.lima@openbossa.org> Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
* Adds convenience ThreadStateSaver class to libshiboken.Marcelo Lira2010-01-181-0/+63
ThreadStateSaver class just wraps the Python Thread save and restore operations. Its destructor also ensures the restoration of saved thread state if the method ends abruptly, e.g. when the wrapped C++ library throws an exception.