Skip to content

Commit 1e2dad4

Browse files
committed
Removed PyObject_CallMethodStr. Same as PyObject_CallMethod.
1 parent bd2fb42 commit 1e2dad4

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,6 @@ TPythonInterface=class(TDynamicDll)
18641864
PyOS_InterruptOccurred:function :integer; cdecl;
18651865
PyObject_CallObject:function (ob,args:PPyObject):PPyObject; cdecl;
18661866
PyObject_CallMethod : function ( obj : PPyObject; method, format : PAnsiChar {...}) : PPyObject; cdecl varargs;
1867-
PyObject_CallMethodStr: function ( obj : PPyObject; method, format, value : PAnsiChar ) : PPyObject; cdecl;
18681867
PyObject_Compare: function (ob1,ob2:PPyObject):integer; cdecl;
18691868
PyObject_RichCompare:function (ob1,ob2:PPyObject;opid:integer):PPyObject; cdecl;
18701869
PyObject_RichCompareBool:function (ob1,ob2:PPyObject;opid:integer):Integer; cdecl;
@@ -3932,7 +3931,6 @@ procedure TPythonInterface.MapDll;
39323931
PyOS_InterruptOccurred :=Import('PyOS_InterruptOccurred');
39333932
PyObject_CallObject :=Import('PyObject_CallObject');
39343933
PyObject_CallMethod :=Import('PyObject_CallMethod');
3935-
PyObject_CallMethodStr :=Import('PyObject_CallMethod');
39363934
if not IsPython3000 then
39373935
PyObject_Compare :=Import('PyObject_Compare');
39383936
PyObject_RichCompare :=Import('PyObject_RichCompare');

PythonForDelphi/Demos/Demo11/SortThds.pas

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ interface
66

77
uses
88
Classes,
9-
{$IFDEF MSWINDOWS}
109
Graphics, ExtCtrls,
11-
{$ENDIF}
12-
{$IFDEF LINUX}
13-
QGraphics, QExtCtrls,
14-
{$ENDIF}
1510
PythonEngine;
1611

1712
type

PythonForDelphi/Demos/Demo30/Unit1.pas

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ implementation
4040
uses
4141
VarPyth;
4242

43-
{$IFDEF MSWINDOWS}
4443
{$R *.DFM}
45-
{$ENDIF}
46-
{$IFDEF LINUX}
47-
{$R *.xfm}
48-
{$ENDIF}
4944

5045
procedure TForm1.Button1Click(Sender: TObject);
5146
var

0 commit comments

Comments
 (0)