Skip to content

Commit

Permalink
cran
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed Aug 30, 2023
1 parent 16f527c commit a4d9096
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Authors@R: c(
Description: Provides access to Uber's 'H3' geospatial indexing system via 'h3lib'
<https://CRAN.R-project.org/package=h3lib>. 'h3r' is designed to mimic the 'H3'
Application Programming Interface (API) <https://h3geo.org/docs/api/indexing/>,
so that any function in the API is also availble in 'h3r'.
so that any function in the API is also available in 'h3r'.
License: MIT + file LICENSE
URL: https://symbolixau.github.io/h3r/
BugReports: https://github.com/symbolixau/h3r/issues
Expand Down
6 changes: 3 additions & 3 deletions src/h3r.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ SEXP h3rEdgeLengthM(SEXP edge);
SEXP h3rEdgeLengthKm(SEXP edge);

SEXP h3rGetNumCells(SEXP res);
SEXP h3rGetRes0Cells();
SEXP h3rRes0CellCount();
SEXP h3rGetRes0Cells(void);
SEXP h3rRes0CellCount(void);

SEXP h3rGetPentagons(SEXP res);
SEXP h3rPentagonCount();
SEXP h3rPentagonCount(void);

SEXP h3rGreatCircleDistance(SEXP aLats, SEXP aLons, SEXP bLats, SEXP bLons, int distType);
SEXP h3rGreatCircleDistanceRads(SEXP aLats, SEXP aLons, SEXP bLats, SEXP bLons);
Expand Down
6 changes: 3 additions & 3 deletions src/h3rMiscellaneous.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ SEXP h3rGetNumCells(SEXP res) {
return out;
}

SEXP h3rGetRes0Cells() {
SEXP h3rGetRes0Cells(void) {
int i;
int count = res0CellCount();

Expand All @@ -224,7 +224,7 @@ SEXP h3rGetRes0Cells() {
return out;
}

SEXP h3rRes0CellCount() {
SEXP h3rRes0CellCount(void) {

SEXP out = PROTECT(Rf_allocVector(INTSXP, 1));

Expand Down Expand Up @@ -267,7 +267,7 @@ SEXP h3rGetPentagons(SEXP res) {
return out;
}

SEXP h3rPentagonCount() {
SEXP h3rPentagonCount(void) {

SEXP out = PROTECT(Rf_allocVector(INTSXP, 1));

Expand Down

0 comments on commit a4d9096

Please sign in to comment.