buffer() as argument to ctypes function which expects c_void_p?
Jack Bates
jack.bates at gmail.com
Thu Sep 8 23:18:54 EDT 2011
- Previous message (by thread): Using web2py and deck.js to make HTML5 presentation
- Next message (by thread): wholesale all brand(UGGBOOTS, SHOES, CLOTHES, HANDBAG, WATCH, JEANS, JERSEY, T-SHIRT, SHIRTS, HOODY, EYEGLASS, CAP, SHAWL, WALLT) and so on.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message (by thread): Using web2py and deck.js to make HTML5 presentation
- Next message (by thread): wholesale all brand(UGGBOOTS, SHOES, CLOTHES, HANDBAG, WATCH, JEANS, JERSEY, T-SHIRT, SHIRTS, HOODY, EYEGLASS, CAP, SHAWL, WALLT) and so on.
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list
mailing list