interface/pet.py: specify argument types of called functions
commit62a7b6b40c5552c03589010f959e216301b36d82
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 4 May 2017 13:43:14 +0000 (4 15:43 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 4 May 2017 13:47:18 +0000 (4 15:47 +0200)
tree892b2402cdf35df5b0324d7d2a3ecd715552e1cb
parent3ed5856cce6cbebb8785e30760e7211706b217fb
interface/pet.py: specify argument types of called functions

ctypes needs to be told about the argument types as otherwise,
the pointer argument is treated as an integer and may get truncated.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
interface/pet.py