Skip to content

Commit 8b8d424

Browse files
committed
Fixed Integer/nativeInt issue
1 parent 07bc52a commit 8b8d424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Demos/Demo27/Unit1.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface
1010
TMySeq = class(TPyObject)
1111
public
1212
// Mapping services
13-
function MpLength : Integer; override;
13+
function MpLength : NativeInt; override;
1414
function MpSubscript( obj : PPyObject) : PPyObject; override;
1515
//function MpAssSubscript( obj1, obj2 : PPyObject) : Integer; override;
1616
end;
@@ -40,7 +40,7 @@ implementation
4040

4141
{ TMySeq }
4242

43-
function TMySeq.MpLength: Integer;
43+
function TMySeq.MpLength: NativeInt;
4444
begin
4545
Result := 10;
4646
end;

0 commit comments

Comments
 (0)