Py_BuildValue And ULARGE_INTEGERS
johnfabel at btinternet.com
Thu Feb 27 20:21:14 CET 2003
OK, problem (sorta) solved. I dug through docs, and found a different
string value "LLL", which is for long long's (_int64 on Win32). Just a
note for anyone looking for the same thing, the formatting strings are
dotted around the docs (Extending and Embeding & Python/C API).
Anyone any ideas how I get rid of the L from numbers ? :)
John Abel wrote:
> I have a routine coded in C, that is being returned a ULARGE_INTEGER.
> I'm using Py_BuildValue ( "iiiiii", retOne, retTwo, retThree) to
> return the values back. However, I am getting spurious figures with
> some of the values. Does anyone know if Python can handle such large
> figures? Can someone point me in the right direction?
> I'm using Python on Win2000 with V Studio 6, the call is
> GetDiskFreeSpaceEx (
> Any pointers would be much appreciated.
More information about the Python-list