glutStrokeLength has incorrect argtypes
Brought to you by:
mcfletch
Attempting to call glutStrokeLength with a font and string results in:
ArgumentError: argument 2: <type 'exceptions.TypeError'>: expected LP_c_ubyte instance instead of str
Adding:
glutStrokeLength.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
To my file corrects the problem.
It takes the same arguments at glutStrokeString which is replaced in freeglut.py. I think glutStrokeLength needs the same treatment.