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
20
20
class var FInstance: TALErrorReporting;
21
21
public
22
22
type
23
- TCreateInstanceFunct = function: TALErrorReporting;
24
- class var CreateInstanceFunct: TCreateInstanceFunct ;
23
+ TCreateInstanceFunc = function: TALErrorReporting;
24
+ class var CreateInstanceFunc: TCreateInstanceFunc ;
25
25
class property Instance: TALErrorReporting read GetInstance;
26
26
public
27
27
constructor Create; virtual ;
@@ -65,7 +65,7 @@ class function TALErrorReporting.CreateInstance: TALErrorReporting;
65
65
class function TALErrorReporting.GetInstance : TALErrorReporting;
66
66
begin
67
67
if FInstance = nil then begin
68
- var LInstance := CreateInstanceFunct ;
68
+ var LInstance := CreateInstanceFunc ;
69
69
if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
70
70
end ;
71
71
Result := FInstance;
@@ -90,7 +90,7 @@ procedure TALErrorReporting.CustomLogException(Const Tag: String; Const E: Excep
90
90
91
91
initialization
92
92
TALErrorReporting.FInstance := nil ;
93
- TALErrorReporting.CreateInstanceFunct := @TALErrorReporting.CreateInstance;
93
+ TALErrorReporting.CreateInstanceFunc := @TALErrorReporting.CreateInstance;
94
94
95
95
finalization
96
96
ALFreeAndNil(TALErrorReporting.FInstance);
Original file line number Diff line number Diff line change @@ -367,8 +367,8 @@ TALGraphicThreadPool = class(TALWorkerThreadPool)
367
367
class var FInstance: TALGraphicThreadPool;
368
368
public
369
369
type
370
- TCreateInstanceFunct = function: TALGraphicThreadPool;
371
- class var CreateInstanceFunct: TCreateInstanceFunct ;
370
+ TCreateInstanceFunc = function: TALGraphicThreadPool;
371
+ class var CreateInstanceFunc: TCreateInstanceFunc ;
372
372
class property Instance: TALGraphicThreadPool read GetInstance;
373
373
public
374
374
procedure ExecuteProc(
@@ -10297,7 +10297,7 @@ class function TALGraphicThreadPool.CreateInstance: TALGraphicThreadPool;
10297
10297
class function TALGraphicThreadPool.GetInstance: TALGraphicThreadPool;
10298
10298
begin
10299
10299
if FInstance = nil then begin
10300
- var LInstance := CreateInstanceFunct ;
10300
+ var LInstance := CreateInstanceFunc ;
10301
10301
if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil) <> nil then ALFreeAndNil(LInstance)
10302
10302
end;
10303
10303
Result := FInstance;
@@ -10373,7 +10373,7 @@ procedure TALGraphicThreadPool.ExecuteProc(
10373
10373
10374
10374
initialization
10375
10375
TALGraphicThreadPool.FInstance := nil;
10376
- TALGraphicThreadPool.CreateInstanceFunct := @TALGraphicThreadPool.CreateInstance;
10376
+ TALGraphicThreadPool.CreateInstanceFunc := @TALGraphicThreadPool.CreateInstance;
10377
10377
10378
10378
finalization
10379
10379
ALFreeAndNil(TALGraphicThreadPool.FInstance);
Original file line number Diff line number Diff line change @@ -153,8 +153,8 @@ TALNotificationService = class(TObject)
153
153
class var FInstance: TALNotificationService;
154
154
public
155
155
type
156
- TCreateInstanceFunct = function: TALNotificationService;
157
- class var CreateInstanceFunct: TCreateInstanceFunct ;
156
+ TCreateInstanceFunc = function: TALNotificationService;
157
+ class var CreateInstanceFunc: TCreateInstanceFunc ;
158
158
class property Instance: TALNotificationService read GetInstance;
159
159
public
160
160
type
@@ -500,7 +500,7 @@ class function TALNotificationService.CreateInstance: TALNotificationService;
500
500
class function TALNotificationService.GetInstance : TALNotificationService;
501
501
begin
502
502
if FInstance = nil then begin
503
- var LInstance := CreateInstanceFunct ;
503
+ var LInstance := CreateInstanceFunc ;
504
504
if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
505
505
end ;
506
506
Result := FInstance;
@@ -985,7 +985,7 @@ procedure TALNotificationService.UserNotificationCenterRequestAuthorizationWithO
985
985
initialization
986
986
TALNotificationService.TmpPath := ' ' ;
987
987
TALNotificationService.FInstance := nil ;
988
- TALNotificationService.CreateInstanceFunct := @TALNotificationService.CreateInstance;
988
+ TALNotificationService.CreateInstanceFunc := @TALNotificationService.CreateInstance;
989
989
990
990
finalization
991
991
ALFreeAndNil(TALNotificationService.FInstance);
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ interface
54
54
class var FInstance: TALNetHttpClientPool;
55
55
public
56
56
type
57
- TCreateInstanceFunct = function: TALNetHttpClientPool;
58
- class var CreateInstanceFunct: TCreateInstanceFunct ;
57
+ TCreateInstanceFunc = function: TALNetHttpClientPool;
58
+ class var CreateInstanceFunc: TCreateInstanceFunc ;
59
59
class property Instance: TALNetHttpClientPool read GetInstance;
60
60
private
61
61
FCacheData: TALNetHttpClientPoolCacheDataProc;
@@ -170,7 +170,7 @@ class function TALNetHttpClientPool.CreateInstance: TALNetHttpClientPool;
170
170
class function TALNetHttpClientPool.GetInstance : TALNetHttpClientPool;
171
171
begin
172
172
if FInstance = nil then begin
173
- var LInstance := CreateInstanceFunct ;
173
+ var LInstance := CreateInstanceFunc ;
174
174
if AtomicCmpExchange(Pointer(FInstance), Pointer(LInstance), nil ) <> nil then ALFreeAndNil(LInstance)
175
175
end ;
176
176
Result := FInstance;
@@ -413,7 +413,7 @@ procedure TALNetHttpClientPool.Get(
413
413
414
414
initialization
415
415
TALNetHttpClientPool.FInstance := nil ;
416
- TALNetHttpClientPool.CreateInstanceFunct := @TALNetHttpClientPool.CreateInstance;
416
+ TALNetHttpClientPool.CreateInstanceFunc := @TALNetHttpClientPool.CreateInstance;
417
417
418
418
finalization
419
419
ALFreeAndNil(TALNetHttpClientPool.FInstance);
You can’t perform that action at this time.
0 commit comments