yutannihilation / savvy

A simple R extension interface using Rust
https://yutannihilation.github.io/savvy/guide/
MIT License
72 stars 4 forks source link

ALTREP needs to handle null pointers #221

Open yutannihilation opened 6 months ago

yutannihilation commented 6 months ago

Probably, this cannot throw error because it all things needs to be handled within Rust and we cannot cross the FFI boundary.

https://github.com/yutannihilation/savvy/blob/0f0bbc01bc51c92acb76d0a863544761ab4c87a6/src/altrep/mod.rs#L83-L87