File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ TALErrorReporting = class
2020 class var FInstance: TALErrorReporting;
2121 public
2222 type
23- TCreateInstanceFunct = function: TALErrorReporting;
24- class var CreateInstanceFunct: TCreateInstanceFunct ;
23+ TCreateInstanceFunc = function: TALErrorReporting;
24+ class var CreateInstanceFunc: TCreateInstanceFunc ;
2525 class property Instance: TALErrorReporting read GetInstance;
2626 public
2727 constructor Create; virtual ;
@@ -65,7 +65,7 @@ class function TALErrorReporting.CreateInstance: TALErrorReporting;
6565class function TALErrorReporting.GetInstance : TALErrorReporting;
6666begin
6767 if FInstance = nil then begin
68- var LInstance := CreateInstanceFunct ;
68+ var LInstance := CreateInstanceFunc ;
6969 if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
7070 end ;
7171 Result := FInstance;
@@ -90,7 +90,7 @@ procedure TALErrorReporting.CustomLogException(Const Tag: String; Const E: Excep
9090
9191initialization
9292 TALErrorReporting.FInstance := nil ;
93- TALErrorReporting.CreateInstanceFunct := @TALErrorReporting.CreateInstance;
93+ TALErrorReporting.CreateInstanceFunc := @TALErrorReporting.CreateInstance;
9494
9595finalization
9696 ALFreeAndNil(TALErrorReporting.FInstance);
Original file line number Diff line number Diff line change @@ -367,8 +367,8 @@ TALGraphicThreadPool = class(TALWorkerThreadPool)
367367 class var FInstance: TALGraphicThreadPool;
368368 public
369369 type
370- TCreateInstanceFunct = function: TALGraphicThreadPool;
371- class var CreateInstanceFunct: TCreateInstanceFunct ;
370+ TCreateInstanceFunc = function: TALGraphicThreadPool;
371+ class var CreateInstanceFunc: TCreateInstanceFunc ;
372372 class property Instance: TALGraphicThreadPool read GetInstance;
373373 public
374374 procedure ExecuteProc(
@@ -10297,7 +10297,7 @@ class function TALGraphicThreadPool.CreateInstance: TALGraphicThreadPool;
1029710297class function TALGraphicThreadPool.GetInstance: TALGraphicThreadPool;
1029810298begin
1029910299 if FInstance = nil then begin
10300- var LInstance := CreateInstanceFunct ;
10300+ var LInstance := CreateInstanceFunc ;
1030110301 if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil) <> nil then ALFreeAndNil(LInstance)
1030210302 end;
1030310303 Result := FInstance;
@@ -10373,7 +10373,7 @@ procedure TALGraphicThreadPool.ExecuteProc(
1037310373
1037410374initialization
1037510375 TALGraphicThreadPool.FInstance := nil;
10376- TALGraphicThreadPool.CreateInstanceFunct := @TALGraphicThreadPool.CreateInstance;
10376+ TALGraphicThreadPool.CreateInstanceFunc := @TALGraphicThreadPool.CreateInstance;
1037710377
1037810378finalization
1037910379 ALFreeAndNil(TALGraphicThreadPool.FInstance);
Original file line number Diff line number Diff line change @@ -153,8 +153,8 @@ TALNotificationService = class(TObject)
153153 class var FInstance: TALNotificationService;
154154 public
155155 type
156- TCreateInstanceFunct = function: TALNotificationService;
157- class var CreateInstanceFunct: TCreateInstanceFunct ;
156+ TCreateInstanceFunc = function: TALNotificationService;
157+ class var CreateInstanceFunc: TCreateInstanceFunc ;
158158 class property Instance: TALNotificationService read GetInstance;
159159 public
160160 type
@@ -500,7 +500,7 @@ class function TALNotificationService.CreateInstance: TALNotificationService;
500500class function TALNotificationService.GetInstance : TALNotificationService;
501501begin
502502 if FInstance = nil then begin
503- var LInstance := CreateInstanceFunct ;
503+ var LInstance := CreateInstanceFunc ;
504504 if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
505505 end ;
506506 Result := FInstance;
@@ -985,7 +985,7 @@ procedure TALNotificationService.UserNotificationCenterRequestAuthorizationWithO
985985initialization
986986 TALNotificationService.TmpPath := ' ' ;
987987 TALNotificationService.FInstance := nil ;
988- TALNotificationService.CreateInstanceFunct := @TALNotificationService.CreateInstance;
988+ TALNotificationService.CreateInstanceFunc := @TALNotificationService.CreateInstance;
989989
990990finalization
991991 ALFreeAndNil(TALNotificationService.FInstance);
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ interface
5454 class var FInstance: TALNetHttpClientPool;
5555 public
5656 type
57- TCreateInstanceFunct = function: TALNetHttpClientPool;
58- class var CreateInstanceFunct: TCreateInstanceFunct ;
57+ TCreateInstanceFunc = function: TALNetHttpClientPool;
58+ class var CreateInstanceFunc: TCreateInstanceFunc ;
5959 class property Instance: TALNetHttpClientPool read GetInstance;
6060 private
6161 FCacheData: TALNetHttpClientPoolCacheDataProc;
@@ -170,7 +170,7 @@ class function TALNetHttpClientPool.CreateInstance: TALNetHttpClientPool;
170170class function TALNetHttpClientPool.GetInstance : TALNetHttpClientPool;
171171begin
172172 if FInstance = nil then begin
173- var LInstance := CreateInstanceFunct ;
173+ var LInstance := CreateInstanceFunc ;
174174 if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
175175 end ;
176176 Result := FInstance;
@@ -413,7 +413,7 @@ procedure TALNetHttpClientPool.Get(
413413
414414initialization
415415 TALNetHttpClientPool.FInstance := nil ;
416- TALNetHttpClientPool.CreateInstanceFunct := @TALNetHttpClientPool.CreateInstance;
416+ TALNetHttpClientPool.CreateInstanceFunc := @TALNetHttpClientPool.CreateInstance;
417417
418418finalization
419419 ALFreeAndNil(TALNetHttpClientPool.FInstance);
You can’t perform that action at this time.
0 commit comments