File tree 1 file changed +5
-5
lines changed
Filter options
1 file changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -1068,7 +1068,7 @@ PyConfig = record
1068
1068
PyInterpreterConfig_SHARED_GIL = 1 ;
1069
1069
PyInterpreterConfig_OWN_GIL = 2 ;
1070
1070
1071
- type
1071
+ type
1072
1072
PPyInterpreterConfig = ^PyInterpreterConfig;
1073
1073
PyInterpreterConfig = { $IFDEF CPUX86} packed { $ENDIF} record
1074
1074
use_main_obmalloc: Integer;
@@ -1080,7 +1080,7 @@ PyConfig = record
1080
1080
gil: Integer;
1081
1081
end ;
1082
1082
1083
- const
1083
+ var
1084
1084
_PyInterpreterConfig_INIT: PyInterpreterConfig =
1085
1085
( use_main_obmalloc: 0 ;
1086
1086
allow_fork: 0 ;
@@ -9305,7 +9305,7 @@ procedure TPythonThread.Execute;
9305
9305
finally
9306
9306
PyGILState_Release(gilstate);
9307
9307
end ;
9308
- end else { fThreadExecMode }
9308
+ end else
9309
9309
begin
9310
9310
gilstate := PyGILState_Ensure();
9311
9311
global_state := PyThreadState_Get;
@@ -9328,8 +9328,8 @@ procedure TPythonThread.Execute;
9328
9328
PyThreadState_Swap(global_state);
9329
9329
PyGILState_Release(gilstate);
9330
9330
end else
9331
- raise EPythonError.Create( ' Could not create a new thread state' );
9332
- end ; { withinterp }
9331
+ raise EPythonError.Create(' Could not create a new thread state' );
9332
+ end ;
9333
9333
end ;
9334
9334
end ;
9335
9335
You can’t perform that action at this time.
0 commit comments