E.g. the following
|
pub fn initialize(native_disp: *mut VANativeDisplay) -> Result<VADisplay, ()> { |
The pointer is going to be used internally, and as such the function should be marked unsafe. The user could easily put 123 or anything else in there as raw pointer.