File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ TPyStringList = class(TPyObject)
2525 function Iter : PPyObject; override;
2626
2727 // Sequence services
28- function SqLength : Integer ; override;
29- function SqItem ( idx : Integer ) : PPyObject; override;
30- function SqAssItem ( idx : integer ; obj : PPyObject) : Integer; override;
28+ function SqLength : NativeInt ; override;
29+ function SqItem ( idx : NativeInt ) : PPyObject; override;
30+ function SqAssItem ( idx : NativeInt ; obj : PPyObject) : Integer; override;
3131
3232 // Class methods
3333 class procedure RegisterMethods ( PythonType : TPythonType ); override;
@@ -196,7 +196,7 @@ procedure TPyStringList.SetStrings(const Value: TStringList);
196196 fStrings.Assign(Value );
197197end ;
198198
199- function TPyStringList.SqAssItem (idx: integer ; obj: PPyObject): Integer;
199+ function TPyStringList.SqAssItem (idx: NativeInt ; obj: PPyObject): Integer;
200200begin
201201 with GetPythonEngine do
202202 begin
@@ -213,7 +213,7 @@ function TPyStringList.SqAssItem(idx: integer; obj: PPyObject): Integer;
213213 end ;
214214end ;
215215
216- function TPyStringList.SqItem (idx: Integer ): PPyObject;
216+ function TPyStringList.SqItem (idx: NativeInt ): PPyObject;
217217begin
218218 with GetPythonEngine do
219219 begin
@@ -227,7 +227,7 @@ function TPyStringList.SqItem(idx: Integer): PPyObject;
227227 end ;
228228end ;
229229
230- function TPyStringList.SqLength : Integer ;
230+ function TPyStringList.SqLength : NativeInt ;
231231begin
232232 Result := Strings.Count;
233233end ;
You can’t perform that action at this time.
0 commit comments