On Wed, Jul 29, 2009 at 9:32 PM, Ben Smith
<[email protected]>wrote:

>
> ctypes is tricky and it seems like having the wrong function type gets
> you some sort of obtuse messages:
> ctypes.ArgumentError: argument 3: <type 'exceptions.TypeError'>:
> expected CFunctionType instance instead of CFunctionType
>

ctypes
wasn't originally intended for user code, so the interface can be
pretty rough. Plus, the FFI library it uses is hell to use, even from
C ;)

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to