rust-mobile / ndk

Rust bindings to the Android NDK
Apache License 2.0
1.11k stars 110 forks source link

Expose internal pointer to AImage #470

Open ShootingKing-AM opened 6 months ago

ShootingKing-AM commented 6 months ago
MarijnS95 commented 3 months ago

Before doing this, I'd like to consistenize the current split between fn as_ptr(&self) -> *mut T versus fn ptr(&self) -> NonNull<T>, as well as the documentation comments and safety constraints.