diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-04-25 11:19:48 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-04-25 11:19:48 -0700 |
commit | 9c81cdb4b04f83ee99c5c4126aa1e7ae93e7cabc (patch) | |
tree | e0de1a32212fec99274d244632902d2fd635f22f /py/modules/IcePy/Util.cpp | |
parent | Removed bogus sl/chat/bin directory (diff) | |
download | ice-9c81cdb4b04f83ee99c5c4126aa1e7ae93e7cabc.tar.bz2 ice-9c81cdb4b04f83ee99c5c4126aa1e7ae93e7cabc.tar.xz ice-9c81cdb4b04f83ee99c5c4126aa1e7ae93e7cabc.zip |
misc. python cleanup
Diffstat (limited to 'py/modules/IcePy/Util.cpp')
-rw-r--r-- | py/modules/IcePy/Util.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/py/modules/IcePy/Util.cpp b/py/modules/IcePy/Util.cpp index f965124154f..dafe4057ff7 100644 --- a/py/modules/IcePy/Util.cpp +++ b/py/modules/IcePy/Util.cpp @@ -355,26 +355,6 @@ IcePy::PyException::getTypeName() return result; } -IcePy::AllowThreads::AllowThreads() -{ - _state = PyEval_SaveThread(); -} - -IcePy::AllowThreads::~AllowThreads() -{ - PyEval_RestoreThread(_state); -} - -IcePy::AdoptThread::AdoptThread() -{ - _state = PyGILState_Ensure(); -} - -IcePy::AdoptThread::~AdoptThread() -{ - PyGILState_Release(_state); -} - bool IcePy::listToStringSeq(PyObject* l, Ice::StringSeq& seq) { |