[Pomp-commits] r861 - in pkg/pomp: inst src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 7 14:27:52 CEST 2013


Author: kingaa
Date: 2013-06-07 14:27:52 +0200 (Fri, 07 Jun 2013)
New Revision: 861

Modified:
   pkg/pomp/inst/NEWS
   pkg/pomp/src/R_init_pomp.c
Log:
- to preserve backward-compatibility, continue to export 'reulermultinom', 'deulermultinom', and 'dot_product'


Modified: pkg/pomp/inst/NEWS
===================================================================
--- pkg/pomp/inst/NEWS	2013-06-07 12:13:08 UTC (rev 860)
+++ pkg/pomp/inst/NEWS	2013-06-07 12:27:52 UTC (rev 861)
@@ -1,6 +1,6 @@
 NEWS
 0.45-4
-     o	changes in the way 'reulermultinom', 'deulermultinom', 'dot_product' are exported to other packages.  Rather than being exported as linkables, these are now defined as static inline functions in the 'pomp.h' header.
+     o	changes in the way 'reulermultinom', 'deulermultinom', 'dot_product' are exported to other packages.  Rather than just being exported as linkables, these are now also defined as static inline functions in the 'pomp.h' header.
 
 0.45-3
      o	fix bug with 'continue' and method 'mif2'

Modified: pkg/pomp/src/R_init_pomp.c
===================================================================
--- pkg/pomp/src/R_init_pomp.c	2013-06-07 12:13:08 UTC (rev 860)
+++ pkg/pomp/src/R_init_pomp.c	2013-06-07 12:27:52 UTC (rev 861)
@@ -4,6 +4,9 @@
 
 void R_init_pomp (DllInfo *info) {
   R_RegisterCCallable("pomp","periodic_bspline_basis_eval",(DL_FUNC) &periodic_bspline_basis_eval);
+  R_RegisterCCallable("pomp","dot_product",(DL_FUNC) &dot_product);
+  R_RegisterCCallable("pomp","reulermultinom",(DL_FUNC) &reulermultinom);
+  R_RegisterCCallable("pomp","deulermultinom",(DL_FUNC) &deulermultinom);
   R_RegisterCCallable("pomp","get_pomp_userdata",(DL_FUNC) &get_pomp_userdata);
   R_RegisterCCallable("pomp","get_pomp_userdata_int",(DL_FUNC) &get_pomp_userdata_int);
   R_RegisterCCallable("pomp","get_pomp_userdata_double",(DL_FUNC) &get_pomp_userdata_double);



More information about the pomp-commits mailing list