[ctypes-commit] ctypes/docs index.stx,1.8,1.9
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-10-28 18:13:37
|
Update of /cvsroot/ctypes/ctypes/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14818 Modified Files: index.stx Log Message: 0.9.2 release. Index: index.stx =================================================================== RCS file: /cvsroot/ctypes/ctypes/docs/index.stx,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.stx 14 Sep 2004 20:00:40 -0000 1.8 --- index.stx 28 Oct 2004 18:13:15 -0000 1.9 *************** *** 17,33 **** News ! **'ctypes' version 0.9.1 has been released (Sept 14, 2004).** ! ctypes can now call Python API functions (without releasing the ! global interpreter lock). ! Slicing is now supported for array and pointer instances. - Several bugfixes. Detailed changelogs are in CVS (well, sometimes I forget to update them): ! "ANNOUNCE":http://cvs.sourceforge.net/viewcvs.py/ctypes/ctypes/ANNOUNCE?rev=release_0_9_1 "ChangeLog":http://cvs.sourceforge.net/viewcvs.py/ctypes/ctypes/ChangeLog?rev=HEAD --- 17,57 ---- News ! **'ctypes' version 0.9.2 has been released (Oct 28, 2004).** ! Fixed several bugs and memory leaks. ! 'ctypes' is now tested on Windows, Linux (x86 and x86_64), OpenBSD ! and Mac OS X. ! ! Implemented some helper functions: 'memmove', 'memset', 'string_at', 'wstring_at'. ! The former act as their C library counterpart, the latter two allow ! to read a zero-terminated (wide) strings at a certain address. ! ! Implemented a 'cast(cobj, ctype)' function, which creates a new object ! of the specified ctype from an existing object. ! ! 'ctypes' now explicitely allocates executable memory for the callbacks ! it creates, this makes it work correctly on platforms where ! executing data is normally forbidden (OpenBSD, Win XP SP2 on AMD 64). ! ! Fixed the unicode handling on non-windows platforms. ! ! Bit fields in structures and unions are now implemented. ! For a bit field, one would specify the width in bits as the third ! part in the '_fields_' list like this:: ! ! class BitFieldSample(Structure): ! _fields_ = [("anInt", c_int), ! ("aBitField", c_int, 3)] ! ! POINTER(None) now returns c_void_p. This change was made for easier ! code generation, and makes sense since 'None' is the ctypes way to ! spell 'void'. Detailed changelogs are in CVS (well, sometimes I forget to update them): ! "ANNOUNCE":http://cvs.sourceforge.net/viewcvs.py/ctypes/ctypes/ANNOUNCE?rev=release_0_9_2 "ChangeLog":http://cvs.sourceforge.net/viewcvs.py/ctypes/ctypes/ChangeLog?rev=HEAD |