]> granicus.if.org Git - python/commit
Accept bytes as parameter to foreign functions without prototype.
authorThomas Heller <theller@ctypes.org>
Thu, 12 Jul 2007 19:19:43 +0000 (19:19 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 12 Jul 2007 19:19:43 +0000 (19:19 +0000)
commit7775c716fcf28346e2e79238d6e5080d5a1bcc81
treee5adb2863214cf0e308006e60b27c9afcd45aeed
parent60831316df8893e973f92592b7c4c95ad489ff15
Accept bytes as parameter to foreign functions without prototype.
These are passed as byte strings (unicode strings are passed as wide
character strings).
Lib/ctypes/test/test_slicing.py
Modules/_ctypes/callproc.c