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

replace h3ToString #27

Closed
dcooley opened this issue Jul 13, 2023 · 0 comments
Closed

replace h3ToString #27

dcooley opened this issue Jul 13, 2023 · 0 comments

Comments

@dcooley
Copy link
Contributor

dcooley commented Jul 13, 2023

to solve - SymbolixAU/h3lib#6

Remove call to h3ToString() and write our own version

SEXP h3ToSexpString(H3Index h3) {
  char str[17];
  //h3ToString(h3, str, sizeof(str));
  int res = snprintf(str, sizeof(str), "%" PRIx64, h3);
  return Rf_mkChar(str);
}
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