Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12997
| Date | 2011-09-08 20:18 -0700 |
|---|---|
| Subject | buffer() as argument to ctypes function which expects c_void_p? |
| From | Jack Bates <jack.bates@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.894.1315538338.27778.python-list@python.org> (permalink) |
How do you pass a Python buffer() value as an argument to a ctypes function, which expects a c_void_p argument? I keep getting TypeError: ctypes.ArgumentError: argument 2: <type 'exceptions.TypeError'>: wrong type
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
buffer() as argument to ctypes function which expects c_void_p? Jack Bates <jack.bates@gmail.com> - 2011-09-08 20:18 -0700
csiph-web