[Pomp-commits] r699 - pkg/pomp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 2 18:49:04 CEST 2012


Author: kingaa
Date: 2012-05-02 18:49:04 +0200 (Wed, 02 May 2012)
New Revision: 699

Modified:
   pkg/pomp/R/builder.R
Log:
- add declarations for 'get_pomp_userdata_int' and 'get_pomp_userdata_double'


Modified: pkg/pomp/R/builder.R
===================================================================
--- pkg/pomp/R/builder.R	2012-05-02 15:23:36 UTC (rev 698)
+++ pkg/pomp/R/builder.R	2012-05-02 16:49:04 UTC (rev 699)
@@ -87,7 +87,9 @@
 decl <- list(
              periodic_bspline_basis_eval="void (*periodic_bspline_basis_eval)(double,double,int,int,double*);\nperiodic_bspline_basis_eval = (void (*)(double,double,int,int,double*)) R_GetCCallable(\"pomp\",\"periodic_bspline_basis_eval\");\n",
              reulermultinom="void (*reulermultinom)(int,double,double*,double,double*);\nreulermultinom = (void (*)(int,double,double*,double,double*)) R_GetCCallable(\"pomp\",\"reulermultinom\");\n",
-             get_pomp_userdata="const SEXP (*get_pomp_userdata)(const char *);\npomp_get_userdata = (const SEXP (*)(const char*)) R_GetCCallable(\"pomp\",\"get_pomp_userdata\");\n"
+             get_pomp_userdata="const SEXP (*get_pomp_userdata)(const char *);\npomp_get_userdata = (const SEXP (*)(const char*)) R_GetCCallable(\"pomp\",\"get_pomp_userdata\");\n",
+             get_pomp_userdata_int="const int * (*get_pomp_userdata_int)(const char *);\npomp_get_userdata_int = (const int *(*)(const char*)) R_GetCCallable(\"pomp\",\"get_pomp_userdata_int\");\n",
+             get_pomp_userdata_double="const double * (*get_pomp_userdata_double)(const char *);\npomp_get_userdata_double = (const double *(*)(const char*)) R_GetCCallable(\"pomp\",\"get_pomp_userdata_double\");\n"
               )
 
 footer <- list(



More information about the pomp-commits mailing list