Browse Source

forgot to get rid of 2 uselss things in init.c

master
boB Rudis 2 years ago
parent
commit
629dd1ae6b
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. BIN
      inst/lib/libswiftspeech.dylib
  2. BIN
      lib/libswiftspeech.dylib
  3. 4
      src/Makevars
  4. 2
      src/init.c
  5. BIN
      src/libswiftspeech.dylib

BIN
inst/lib/libswiftspeech.dylib

Binary file not shown.

BIN
lib/libswiftspeech.dylib

Binary file not shown.

4
src/Makevars

@ -5,7 +5,7 @@ LIBDIR = ../inst/lib
DEVLIB = ../lib
PKG_LIBS = -lswiftspeech -L../inst/lib
all: $(SHLIB) swiftLibrary
all: $(SHLIB) swiftLibrary
swiftLibrary: $(SWIFTLIB)
-@if test ! -e $(LIBDIR); then mkdir -p $(LIBDIR); fi
@ -19,4 +19,4 @@ $(SWIFTLIB): $(OBJECTS)
$(INSTALL_NAME_TOOL) -change $(SWIFTLIB) @loader_path/../lib/$(SWIFTLIB) swiftspeech.so
clean:
rm -Rf $(SHLIB) $(SWIFTLIB) $(OBJECTS) $(DEVLIB)/$(SWIFTLIB)
rm -Rf $(SHLIB) $(SWIFTLIB) $(OBJECTS) $(DEVLIB)/$(SWIFTLIB)

2
src/init.c

@ -9,8 +9,6 @@ extern SEXP plus_one(SEXP);
extern SEXP part_of_speech(SEXP);
static const R_CallMethodDef CallEntries[] = {
{"hey", (DL_FUNC) &hey, 0},
{"plus_one", (DL_FUNC) &plus_one, 1},
{"part_of_speech", (DL_FUNC) &part_of_speech, 1},
{NULL, NULL, 0}
};

BIN
src/libswiftspeech.dylib

Binary file not shown.
Loading…
Cancel
Save