Skip to content

Implement complex support #2

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

Open
wants to merge 1 commit into
base: feature/data-pointer
Choose a base branch
from

Conversation

DavisVaughan
Copy link
Owner

@DavisVaughan DavisVaughan commented Mar 9, 2022

  • NEWS bullet
  • Is r_complex(SEXP data) really needed? I added this because it exists for r_bool, but it seems a little limited. It converts a complex length 1 SEXP to r_complex and errors otherwise. It seems like this is rare (I think the r_bool case is actually untested and broken). And the r_string(SEXP data) equivalent is quite different, because this is how you go from CHARSXP->r_string

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

Successfully merging this pull request may close these issues.

1 participant