Skip to content

Commit e016456

Browse files
committed
Added PyLong_AsVoidPtr
1 parent 4c42c6c commit e016456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/PythonEngine.pas

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy