Skip to content

Commit

Permalink
stop pretending that there will be a C API
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Apr 21, 2022
1 parent 7c8e602 commit 3d33c13
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 35 deletions.
3 changes: 1 addition & 2 deletions src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ OBJECTS = $(ABSL_LIBS) \
s2-xptr.o \
wk-impl.o \
wk-c-utils.o \
s2-geography/capi/tessellator.o \
s2-geography/capi/status.o \
tessellator.o \
s2-geography/accessors.o \
s2-geography/accessors-geog.o \
s2-geography/linear-referencing.o \
Expand Down
2 changes: 0 additions & 2 deletions src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ ABSL_LIBS = absl/base/internal/cycleclock.o \
absl/types/bad_variant_access.o

S2LIBS = $(ABSL_LIBS) \
s2-geography/capi/tessellator.o \
s2-geography/capi/status.o \
s2-geography/linear-referencing.o \
s2-geography/distance.o \
s2-geography/accessors.o \
Expand Down
30 changes: 0 additions & 30 deletions src/s2-geography/capi/status.cpp

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/wk-c-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <R.h>
#include <Rinternals.h>
#include "wk-v1.h"
#include "s2-geography/s2-geography_c.h"
#include "tessellator.h"

// Expose projections as external pointers so that they can theoretically be generated
// by other packages.
Expand Down

0 comments on commit 3d33c13

Please sign in to comment.