There was an error while loading. Please reload this page.
1 parent 07bc52a commit 8b8d424Copy full SHA for 8b8d424
Demos/Demo27/Unit1.pas
@@ -10,7 +10,7 @@ interface
10
TMySeq = class(TPyObject)
11
public
12
// Mapping services
13
- function MpLength : Integer; override;
+ function MpLength : NativeInt; override;
14
function MpSubscript( obj : PPyObject) : PPyObject; override;
15
//function MpAssSubscript( obj1, obj2 : PPyObject) : Integer; override;
16
end;
@@ -40,7 +40,7 @@ implementation
40
41
{ TMySeq }
42
43
-function TMySeq.MpLength: Integer;
+function TMySeq.MpLength: NativeInt;
44
begin
45
Result := 10;
46
0 commit comments