changed detection position from void_p to ulong
changed detection length from void_p to ulong
Merge pull request #5 from scotthaleen/master

fix for python ctypes to match C functions