Skip to content

Commit 6892474

Browse files
committed
Replace Funct by Func
1 parent befb60b commit 6892474

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

Source/Alcinoe.FMX.ErrorReporting.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;
6565
class function TALErrorReporting.GetInstance: TALErrorReporting;
6666
begin
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

9191
initialization
9292
TALErrorReporting.FInstance := nil;
93-
TALErrorReporting.CreateInstanceFunct := @TALErrorReporting.CreateInstance;
93+
TALErrorReporting.CreateInstanceFunc := @TALErrorReporting.CreateInstance;
9494

9595
finalization
9696
ALFreeAndNil(TALErrorReporting.FInstance);

Source/Alcinoe.FMX.Graphics.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;
1029710297
class function TALGraphicThreadPool.GetInstance: TALGraphicThreadPool;
1029810298
begin
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

1037410374
initialization
1037510375
TALGraphicThreadPool.FInstance := nil;
10376-
TALGraphicThreadPool.CreateInstanceFunct := @TALGraphicThreadPool.CreateInstance;
10376+
TALGraphicThreadPool.CreateInstanceFunc := @TALGraphicThreadPool.CreateInstance;
1037710377

1037810378
finalization
1037910379
ALFreeAndNil(TALGraphicThreadPool.FInstance);

Source/Alcinoe.FMX.NotificationService.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;
500500
class function TALNotificationService.GetInstance: TALNotificationService;
501501
begin
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
985985
initialization
986986
TALNotificationService.TmpPath := '';
987987
TALNotificationService.FInstance := nil;
988-
TALNotificationService.CreateInstanceFunct := @TALNotificationService.CreateInstance;
988+
TALNotificationService.CreateInstanceFunc := @TALNotificationService.CreateInstance;
989989

990990
finalization
991991
ALFreeAndNil(TALNotificationService.FInstance);

Source/Alcinoe.HTTP.Client.Net.Pool.pas

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;
170170
class function TALNetHttpClientPool.GetInstance: TALNetHttpClientPool;
171171
begin
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

414414
initialization
415415
TALNetHttpClientPool.FInstance := nil;
416-
TALNetHttpClientPool.CreateInstanceFunct := @TALNetHttpClientPool.CreateInstance;
416+
TALNetHttpClientPool.CreateInstanceFunc := @TALNetHttpClientPool.CreateInstance;
417417

418418
finalization
419419
ALFreeAndNil(TALNetHttpClientPool.FInstance);

0 commit comments

Comments
 (0)