Skip to content

Commit

Permalink
Register callable
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed Apr 14, 2020
1 parent caef0a7 commit a592068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/geodist_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ static const R_CallMethodDef CallEntries[] = {

void R_init_geodist(DllInfo *dll)
{
R_RegisterCCallable("geodist", "R_cheap", (DL_FUNC) &R_cheap);

R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
}

0 comments on commit a592068

Please sign in to comment.