Something
public python v1 · immutable>>> from SDL import *>>> SDL_Init(SDL_INIT_JOYSTICK)0>>> j = SDL_JoystickOpen(0)>>> type(j), repr(j)(<type 'int'>, '136390160')>>> SDL_JoystickIndex(j)Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/pete/src/ctypes-soc/SDL/dll.py", line 196, in _f return func(*args, **kwargs)ctypes.ArgumentError: argument 1: exceptions.TypeError: wrong type