Marshalled pointers to primitive types as such instead of using IntPtr.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #63 from ddobrev/master

Marshalled pointers to primitive types as such instead of using IntPtr