File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
PythonForDelphi/Components/Sources/Core Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1710,6 +1710,7 @@ TPythonInterface=class(TDynamicDll)
17101710 PyErr_SetObject: procedure (ob1, ob2 : PPyObject); cdecl;
17111711 PyErr_SetString: procedure( ErrorObject: PPyObject; text: PAnsiChar); cdecl;
17121712 PyErr_WarnEx: function (ob: PPyObject; text: PAnsiChar; stack_level: NativeInt): integer; cdecl;
1713+ PyErr_WarnExplicit: function (ob: PPyObject; text: PAnsiChar; filename: PAnsiChar; lineno: integer; module : PAnsiChar; registry: PPyObject): integer; cdecl;
17131714 PyImport_GetModuleDict: function: PPyObject; cdecl;
17141715 PyInt_FromLong: function( x: LongInt):PPyObject; cdecl;
17151716 PyArg_Parse: function( args: PPyObject; format: PAnsiChar { ;....} ) : Integer; cdecl varargs;
@@ -3806,6 +3807,7 @@ procedure TPythonInterface.MapDll;
38063807 PyErr_Fetch := Import (' PyErr_Fetch' );
38073808 PyErr_SetString := Import (' PyErr_SetString' );
38083809 PyErr_WarnEx := Import (' PyErr_WarnEx' );
3810+ PyErr_WarnExplicit := Import (' PyErr_WarnExplicit' );
38093811 PyEval_GetBuiltins := Import (' PyEval_GetBuiltins' );
38103812 PyImport_GetModuleDict := Import (' PyImport_GetModuleDict' );
38113813 if IsPython3000 then
You can’t perform that action at this time.
0 commit comments