]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
NEWS entry for:
authorThomas Heller <theller@ctypes.org>
Tue, 10 Jun 2008 14:07:12 +0000 (14:07 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 10 Jun 2008 14:07:12 +0000 (14:07 +0000)
Add an optional 'offset' parameter to byref, defaulting to zero.

Misc/NEWS

index f36b414f466485a3ccf6c5d665c111e624d2e52d..4b9f21c7a8fd39075ac0d74cd9ec2498a89011a8 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -77,6 +77,10 @@ Extension Modules
 Library
 -------
 
+- The ctypes.byref function now takes an optional second parameter
+  which allows to specify an offset in bytes for the constructed
+  pointer-like object.
+
 - Added the ast module.
 
 - Factored out the indentation cleaning from inspect.getdoc() into