]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Two new private longobject API functions,
authorTim Peters <tim.peters@gmail.com>
Mon, 11 Jun 2001 21:23:58 +0000 (21:23 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 11 Jun 2001 21:23:58 +0000 (21:23 +0000)
commit2a9b36738504672e6c3cc42018669853b9c62566
tree893769f1074188e55828864ebdadf1bf12c29b42
parent0b9bc20e6669d886ceca55940d3a31d1ac6f17c8
Two new private longobject API functions,
    _PyLong_FromByteArray
    _PyLong_AsByteArray
Untested and probably buggy -- they compile OK, but nothing calls them
yet.  Will soon be called by the struct module, to implement x-platform
'q' and 'Q'.
If other people have uses for them, we could move them into the public API.
See longobject.h for usage details.
Include/longobject.h
Objects/longobject.c