Message268079
Eryk Sun’s as_void suggestion sounds similar to doing:
ctypes.cast(any_pointer, ctypes.c_void_p)
Why do you want the address? Perhaps it is good enough to get it from a void pointer:
ctypes.cast(any_pointer, ctypes.c_void_p).value
Maybe “pointer_value” would be less confusing than “toaddress”. |
|
Date |
User |
Action |
Args |
2016-06-10 03:56:35 | martin.panter | set | recipients:
+ martin.panter, amaury.forgeotdarc, belopolsky, memeplex, meador.inge, eryksun |
2016-06-10 03:56:35 | martin.panter | set | messageid: <1465530995.33.0.883674987307.issue26565@psf.upfronthosting.co.za> |
2016-06-10 03:56:35 | martin.panter | link | issue26565 messages |
2016-06-10 03:56:34 | martin.panter | create | |
|