Tell cffi these opaque types are pointers.

Fixes #469
Merge pull request #480 from public/opaque-typedefs

Tell cffi these opaque types are pointers.