Make allt he functions accept int instead on C.int on input