Le Tuesday 13 January 2009 21:33:28 Martin v. Löwis, vous avez écrit : > I would do this through a converter function (O&), but yes, > making it private to the io library sounds about right. Who > else would benefit from it? On Linux, mmap() prototype is: void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset); mmapmodule.c uses "Py_ssize_t" type and _GetMapSize() private function to convert the long integer to the Py_ssize_t type. -- Victor Stinner aka haypo http://www.haypocalc.com/blog/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4