Skip to content

Commit 61e7164

Browse files
author
pyscripter
committed
1 parent 95f7ed2 commit 61e7164

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

+1-7
Original file line numberDiff line numberDiff line change
@@ -1494,9 +1494,9 @@ TPythonInterface=class(TDynamicDll)
14941494
Integer; cdecl;
14951495
DLL_Py_BuildValue:
14961496
function( format: PAnsiChar {;...}): PPyObject; cdecl;
1497+
{$ENDIF FPC}
14971498
DLL_Py_GetBuildInfo:
14981499
function : PAnsiChar; cdecl;
1499-
{$ENDIF FPC}
15001500
DLL_PyCode_Addr2Line:
15011501
function ( co: PPyCodeObject; addrq : Integer ) : Integer; cdecl;
15021502
DLL_PyImport_ExecCodeModule:
@@ -1619,9 +1619,6 @@ TPythonInterface=class(TDynamicDll)
16191619
PySeqIter_Type: PPyTypeObject;
16201620
PyStaticMethod_Type: PPyTypeObject;
16211621
PySuper_Type: PPyTypeObject;
1622-
{$IFNDEF PYTHON25_OR_HIGHER}
1623-
PySymtableEntry_Type: PPyTypeObject;
1624-
{$ENDIF}
16251622
PyTraceBack_Type: PPyTypeObject;
16261623
PyUnicode_Type: PPyTypeObject;
16271624
PyWrapperDescr_Type: PPyTypeObject;
@@ -3660,9 +3657,6 @@ procedure TPythonInterface.MapDll;
36603657
PySeqIter_Type := Import('PySeqIter_Type');
36613658
PyStaticMethod_Type := Import('PyStaticMethod_Type');
36623659
PySuper_Type := Import('PySuper_Type');
3663-
{$IFNDEF PYTHON25_OR_HIGHER}
3664-
PySymtableEntry_Type := Import('PySymtableEntry_Type', False);
3665-
{$ENDIF}
36663660
PyTraceBack_Type := Import('PyTraceBack_Type');
36673661
PyWrapperDescr_Type := Import('PyWrapperDescr_Type');
36683662
_PyWeakref_RefType := Import('_PyWeakref_RefType');

PythonForDelphi/Components/p4dlaz.lpk

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<CompilerPath Value="$(CompPath)"/>
2424
</Other>
2525
</CompilerOptions>
26-
<Files Count="5">
26+
<Files Count="3">
2727
<Item1>
2828
<Filename Value="$(PackageDir)\Sources\Core\PythonEngine.pas"/>
2929
<HasRegisterProc Value="True"/>

0 commit comments

Comments
 (0)