Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of raw pointer (Ptr{XSxp}) interfaces #444

Open
simonbyrne opened this issue Feb 9, 2022 · 0 comments
Open

Get rid of raw pointer (Ptr{XSxp}) interfaces #444

simonbyrne opened this issue Feb 9, 2022 · 0 comments

Comments

@simonbyrne
Copy link
Member

We are a bit cavalier about passing around raw pointers (sexp) objects, and so we don't always ensure that a reference is kept when doing ccalls: this is likely the cause of the occasional segfaults that are reported (e.g. #348, #431).

The easiest option is probably to change all functions to use RObjects directly, and define appropriate cconvert/unsafe_convert methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant