on 64 bit machines, most of the prototypes need to be explicitly declared since void pointers are no longer the same size as integers.
Merge pull request #6 from reighley-christopher/master

Added more prototype definitions