Updated pointer handling to comply with latest Rust
Merge pull request #33 from kvark/rust

Updated pointer handling to comply with latest Rust