Skip to content

Commit 7fd8dca

Browse files
committed
added PValue to Spring.pas
1 parent 82a4d42 commit 7fd8dca

File tree

4 files changed

+1
-5
lines changed

4 files changed

+1
-5
lines changed

Source/Base/Spring.pas

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ interface
6767
PInterface = ^IInterface;
6868

6969
TValue = Rtti.TValue;
70+
PValue = ^TValue;
7071

7172
TAttributeClass = class of TCustomAttribute;
7273

Source/Core/Container/Spring.Container.Core.pas

-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ TValueHolder = class(TInterfacedObject, TFunc<TValue>)
383383
fLifetimeWatcher: IInterface;
384384
fValue: TValue;
385385
type
386-
PValue = ^TValue;
387386
TComponentHolder = class(TComponent, IInterface)
388387
private
389388
fRefCount: Integer;

Source/Core/Interception/Spring.Interception.CustomProxy.pas

-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ function TCustomProxy.FindMethod(addr: Pointer): TRttiMethod;
9696

9797
function TCustomProxy.HandleInvoke(addr: Pointer;
9898
const args: array of TValue): TValue;
99-
type
100-
PValue = ^TValue;
10199
var
102100
method: TRttiMethod;
103101
i: Integer;

Source/Core/Mocking/Spring.Mocking.Matching.pas

-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ implementation
109109

110110
class function TMatcherFactory.CreateMatchers(
111111
const indizes: TArray<TValue>): TPredicate<TArray<TValue>>;
112-
type
113-
PValue = ^TValue;
114112
var
115113
capturedConditions: TArray<TPredicate<TValue>>;
116114
idxArr: TArray<Integer>;

0 commit comments

Comments
 (0)