Skip to content

Commit

Permalink
disable symbol search for native C routines
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibb committed Apr 4, 2017
1 parent 75fd157 commit eb829b6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,6 +1,6 @@
Package: MALDIquant
Version: 1.16.1
Date: 2016-12-23
Version: 1.16.2
Date: 2017-04-04
Title: Quantitative Analysis of Mass Spectrometry Data
Authors@R: c(person("Sebastian", "Gibb", role=c("aut", "cre"),
email="mail@sebastiangibb.de"), person("Korbinian", "Strimmer",
Expand Down
7 changes: 7 additions & 0 deletions NEWS
@@ -1,6 +1,13 @@
RELEASE HISTORY OF THE "MALDIquant" PACKAGE
===========================================

CHANGES IN MALDIquant VERSION 1.16.2 [2017-04-04]:
--------------------------------------------------

INTERNAL

* Disable symbol search for native C routines.


CHANGES IN MALDIquant VERSION 1.16.1 [2016-12-23]:
--------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions src/init.c
Expand Up @@ -37,8 +37,10 @@ void
#ifdef HAVE_VISIBILITY_ATTRIBUTE
__attribute__ ((visibility ("default")))
#endif
R_init_MALDIquant(DllInfo *info)
R_init_MALDIquant(DllInfo *dll)
{
/* no .C, .Fortran, or .External routines => NULL */
R_registerRoutines(info, NULL, callMethods, NULL, NULL);
R_registerRoutines(dll, NULL, callMethods, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
R_forceSymbols(dll, TRUE);
}

0 comments on commit eb829b6

Please sign in to comment.