Browse Source

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

master
boB Rudis 2 months ago
parent
commit
629dd1ae6b
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
5 changed files with 2 additions and 4 deletions
  1. BIN
      inst/lib/libswiftspeech.dylib
  2. BIN
      lib/libswiftspeech.dylib
  3. +2
    -2
      src/Makevars
  4. +0
    -2
      src/init.c
  5. BIN
      src/libswiftspeech.dylib

BIN
inst/lib/libswiftspeech.dylib View File


BIN
lib/libswiftspeech.dylib View File


+ 2
- 2
src/Makevars View File

@ -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)

+ 0
- 2
src/init.c View File

@ -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 View File


Loading…
Cancel
Save