use cffi:foreign-pointer instead of (type-of (cffi:null-pointer))
Merge pull request #31 from sabetts/for-rpav

use cffi:foreign-pointer instead of (type-of (cffi:null-pointer))