diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-15 21:13:48 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-18 14:44:17 -0300 |
commit | 79774d9827ba3883ac1862aee86c890634fa21a9 (patch) | |
tree | 15b7ddb70cf5dd1c9885b802ac49274bde2aeee1 /libshiboken/shiboken.h | |
parent | d9c5531a3cf0967e2595cef18c63892c0d64d551 (diff) |
Adds convenience GilState class to libshiboken.
GilState class puts some sugar over the Python GIL usage and also
adds the safety of a final GIL release when the GilState destructor
is called when get out of scope.
Diffstat (limited to 'libshiboken/shiboken.h')
-rw-r--r-- | libshiboken/shiboken.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/shiboken.h b/libshiboken/shiboken.h index f9060155d..5c44cbb02 100644 --- a/libshiboken/shiboken.h +++ b/libshiboken/shiboken.h @@ -40,6 +40,7 @@ #include "basewrapper.h" #include "bindingmanager.h" #include "conversions.h" +#include "gilstate.h" #include "helper.h" #include "pyenum.h" #include "shibokenmacros.h" |