Skip to content

Commit 5a76d63

Browse files
authored
Merge pull request pyscripter#209 from Pigrecos/master
Add Missing Function
2 parents 088036b + 0983cf8 commit 5a76d63

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Source/PythonEngine.pas

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,11 @@ TPythonInterface=class(TDynamicDll)
12881288
PyBool_Type: PPyTypeObject;
12891289
PyEnum_Type: PPyTypeObject;
12901290

1291+
PyDict_Update: function (a: PPyObject; b: PPyObject):Integer; cdecl;
1292+
PyLong_FromUnsignedLongLong:function(val:UInt64) : PPyObject; cdecl;
1293+
PyFloat_FromString:function (str:PPyObject):PPyObject; cdecl;
1294+
PySequence_List:function (o:PPyObject):PPyObject; cdecl;
1295+
12911296
Py_GetBuildInfo: function : PAnsiChar; cdecl;
12921297
PyImport_ExecCodeModule: function ( const name : AnsiString; codeobject : PPyObject) : PPyObject; cdecl;
12931298
PyComplex_FromCComplex: function(c: Py_complex):PPyObject; cdecl;
@@ -3269,6 +3274,11 @@ procedure TPythonInterface.MapDll;
32693274
Py_Exit := Import('Py_Exit');
32703275

32713276
PyCFunction_NewEx :=Import('PyCFunction_NewEx');
3277+
3278+
PyDict_Update :=Import('PyDict_Update');
3279+
PyLong_FromUnsignedLongLong :=Import('PyLong_FromUnsignedLongLong');
3280+
PyFloat_FromString :=Import('PyFloat_FromString');
3281+
PySequence_List :=Import('PySequence_List');
32723282

32733283
PyEval_CallObjectWithKeywords:=Import('PyEval_CallObjectWithKeywords');
32743284
PyEval_GetFrame :=Import('PyEval_GetFrame');

0 commit comments

Comments
 (0)