[Xts-commits] r632 - pkg/xts/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 15 23:06:27 CEST 2012


Author: jryan
Date: 2012-06-15 23:06:26 +0200 (Fri, 15 Jun 2012)
New Revision: 632

Modified:
   pkg/xts/src/init.c
Log:
o  fixed macro expansion mistake in init.c - Thanks to Bill Dunlap for the report


Modified: pkg/xts/src/init.c
===================================================================
--- pkg/xts/src/init.c	2012-06-14 14:56:59 UTC (rev 631)
+++ pkg/xts/src/init.c	2012-06-15 21:06:26 UTC (rev 632)
@@ -59,7 +59,7 @@
                      externalMethods);
 
   R_useDynamicSymbols(info, TRUE);
-#define RegisterXTS(routine) R_RegisterCCallable("xts","routine",(DL_FUNC) &routine)
+#define RegisterXTS(routine) R_RegisterCCallable("xts",#routine,(DL_FUNC) &routine)
 
   /* used by external packages linking to internal xts code from C */
   R_RegisterCCallable("xts","do_is_ordered",(DL_FUNC) &do_is_ordered);



More information about the Xts-commits mailing list