Style consistency

This commit is contained in:
Hugo van Kemenade 2020-03-26 19:07:51 +02:00 committed by GitHub
parent 7df7cb25ee
commit b1f22344b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,13 +21,11 @@
#endif
void ImagingSectionEnter(ImagingSectionCookie* cookie)
{
void ImagingSectionEnter(ImagingSectionCookie* cookie) {
*cookie = (PyThreadState *) PyEval_SaveThread();
}
void ImagingSectionLeave(ImagingSectionCookie* cookie)
{
void ImagingSectionLeave(ImagingSectionCookie* cookie) {
PyEval_RestoreThread((PyThreadState*) *cookie);
}