@@ -1494,9 +1494,9 @@ TPythonInterface=class(TDynamicDll)
1494
1494
Integer; cdecl;
1495
1495
DLL_Py_BuildValue:
1496
1496
function( format: PAnsiChar { ;...} ): PPyObject; cdecl;
1497
+ { $ENDIF FPC}
1497
1498
DLL_Py_GetBuildInfo:
1498
1499
function : PAnsiChar; cdecl;
1499
- { $ENDIF FPC}
1500
1500
DLL_PyCode_Addr2Line:
1501
1501
function ( co: PPyCodeObject; addrq : Integer ) : Integer; cdecl;
1502
1502
DLL_PyImport_ExecCodeModule:
@@ -1619,9 +1619,6 @@ TPythonInterface=class(TDynamicDll)
1619
1619
PySeqIter_Type: PPyTypeObject;
1620
1620
PyStaticMethod_Type: PPyTypeObject;
1621
1621
PySuper_Type: PPyTypeObject;
1622
- { $IFNDEF PYTHON25_OR_HIGHER}
1623
- PySymtableEntry_Type: PPyTypeObject;
1624
- { $ENDIF}
1625
1622
PyTraceBack_Type: PPyTypeObject;
1626
1623
PyUnicode_Type: PPyTypeObject;
1627
1624
PyWrapperDescr_Type: PPyTypeObject;
@@ -3660,9 +3657,6 @@ procedure TPythonInterface.MapDll;
3660
3657
PySeqIter_Type := Import (' PySeqIter_Type' );
3661
3658
PyStaticMethod_Type := Import (' PyStaticMethod_Type' );
3662
3659
PySuper_Type := Import (' PySuper_Type' );
3663
- { $IFNDEF PYTHON25_OR_HIGHER}
3664
- PySymtableEntry_Type := Import (' PySymtableEntry_Type' , False);
3665
- { $ENDIF}
3666
3660
PyTraceBack_Type := Import (' PyTraceBack_Type' );
3667
3661
PyWrapperDescr_Type := Import (' PyWrapperDescr_Type' );
3668
3662
_PyWeakref_RefType := Import (' _PyWeakref_RefType' );
0 commit comments