[ctypes-commit] ctypes/source _ctypes.c,1.198,1.199
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-01-20 21:03:39
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30259 Modified Files: _ctypes.c Log Message: Add todo list. Index: _ctypes.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/_ctypes.c,v retrieving revision 1.198 retrieving revision 1.199 diff -C2 -d -r1.198 -r1.199 *** _ctypes.c 15 Jan 2005 17:13:14 -0000 1.198 --- _ctypes.c 20 Jan 2005 21:03:30 -0000 1.199 *************** *** 1,3 **** --- 1,20 ---- /* + ToDo: + + think about a buffer-like object (memory? bytes?) + + Should POINTER(c_char) and POINTER(c_wchar) have a .value property? + What about c_char and c_wchar arrays then? + + Add from_mmap, from_file, from_string metaclass methods. + + Maybe we can get away with from_file (calls read) and with a from_buffer + method? + + And what about the to_mmap, to_file, to_str(?) methods? They would clobber + the namespace, probably. So, functions instead? And we already have memmove... + */ + + /* Name methods, members, getsets |