Add support for const pointers
Merge pull request #203 from vmx/const-pointer

Add support for const pointers