Skip to content

Commit ea16244

Browse files
author
pyscripter
committed
Removed all assembler from PythonEngine.pas and changed affected units and demos.
1 parent feea33f commit ea16244

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1371
-569
lines changed

PythonForDelphi/Components/Sources/Core/MethodCallBack.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
(* Grzegorz Makarewicz (mak@mikroplan.com.pl) *)
1717
(* Morgan Martinet (p4d@mmm-experts.com) *)
1818
(* Samuel Iseli (iseli@vertec.ch) *)
19-
(* Andrey Gruzdev (andrey.gruzdev@gmail.com) *)
19+
(* Andrey Gruzdev (andrey.gruzdev@gmail.com) *)
2020
(**************************************************************************)
2121
(* This source code is distributed with no WARRANTY, for no reason or use.*)
2222
(* Everyone is allowed to use and change this code free, as long as this *)

PythonForDelphi/Components/Sources/Core/PythonAction.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function TPythonAction.PythonRegister(pself, args: PPyObject): PPyObject;
135135
begin
136136
Result := nil;
137137
with GetPythonEngine do
138-
if (PyArg_ParseTuple( args, 'O', [@func]) = 0) or
138+
if (PyArg_ParseTuple( args, 'O',@func) = 0) or
139139
( not PyFunction_Check(func)) then
140140
begin
141141
s := fRegistername + '(function)';
@@ -157,7 +157,7 @@ function TPythonAction.PythonUnregister(pself, args: PPyObject): PPyObject;
157157
begin
158158
Result := nil;
159159
with GetPythonEngine do
160-
if (PyArg_ParseTuple( args, 'O', [@func]) = 0) or
160+
if (PyArg_ParseTuple( args, 'O',@func) = 0) or
161161
(RegisteredMethods.IndexOf(func) = -1) then
162162
begin
163163
s := fUnregistername + '(function)';

0 commit comments

Comments
 (0)