diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-15 12:19:18 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-01-15 20:12:25 -0300 |
commit | 417b5ddc9eeaaa1ab42d8d321dc3176b1965a4d8 (patch) | |
tree | 6bde4fde8bd4076e904ba2610a33f560eb9a5290 /tests | |
parent | 4587abd19af6be7148dbe7891f909652e40a9aa2 (diff) |
Wrapped virtual methods now locking the GIL in the right places.
A code injection on the tests was updated.
Reviewed by Hugo Parente Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 63ab7f916..f1ab286dc 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -557,9 +557,7 @@ </modify-function> <modify-function signature="callMe()"> <inject-code class="native" position="end"> - PyGILState_STATE gil_state = PyGILState_Ensure(); PyObject_Call(%PYTHON_METHOD_OVERRIDE, %PYTHON_ARGUMENTS, NULL); - PyGILState_Release(gil_state); </inject-code> </modify-function> </value-type> |