Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e016456

Browse filesBrowse files
committed
Added PyLong_AsVoidPtr
1 parent 4c42c6c commit e016456
Copy full SHA for e016456

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎Source/PythonEngine.pas

Copy file name to clipboardExpand all lines: Source/PythonEngine.pas
+2
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ TPythonInterface=class(TDynamicDll)
16491649
PyLong_FromLongLong:function(val:Int64): PPyObject; cdecl;
16501650
PyLong_FromUnsignedLongLong:function(val:UInt64) : PPyObject; cdecl;
16511651
PyLong_AsLongLong:function(ob:PPyObject): Int64; cdecl;
1652+
PyLong_AsVoidPtr:function(ob:PPyObject): Pointer;
16521653
PyLong_FromVoidPtr:function(p: Pointer): PPyObject; cdecl;
16531654
PyMapping_Check:function (ob:PPyObject):integer; cdecl;
16541655
PyMapping_GetItemString:function (ob:PPyObject;key:PAnsiChar):PPyObject; cdecl;
@@ -3984,6 +3985,7 @@ procedure TPythonInterface.MapDll;
39843985
PyLong_FromLongLong := Import('PyLong_FromLongLong');
39853986
PyLong_FromUnsignedLongLong := Import('PyLong_FromUnsignedLongLong');
39863987
PyLong_AsLongLong := Import('PyLong_AsLongLong');
3988+
PyLong_AsVoidPtr := Import('PyLong_AsVoidPtr');
39873989
PyLong_FromVoidPtr := Import('PyLong_FromVoidPtr');
39883990
PyMapping_Check := Import('PyMapping_Check');
39893991
PyMapping_GetItemString := Import('PyMapping_GetItemString');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.