Revision: 468
          http://rpy.svn.sourceforge.net/rpy/?rev=468&view=rev
Author:   lgautier
Date:     2008-03-27 23:40:36 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
Added constant for the longuest possible vector in R

Modified Paths:
--------------
    branches/rpy_nextgen/rpy/rinterface/rinterface.c

Modified: branches/rpy_nextgen/rpy/rinterface/rinterface.c
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-03-27 21:11:17 UTC 
(rev 467)
+++ branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-03-28 06:40:36 UTC 
(rev 468)
@@ -1459,7 +1459,7 @@
   //FIXME: DECREF ?
   Py_DECREF(baseNameSpaceEnv);
 
-  /* Add some symbolic constants to the module */
+  /* Add SXP types */
   ADD_INT_CONSTANT(m, NILSXP);
   ADD_INT_CONSTANT(m, SYMSXP);
   ADD_INT_CONSTANT(m, LISTSXP);
@@ -1484,6 +1484,8 @@
   ADD_INT_CONSTANT(m, RAWSXP);
   ADD_INT_CONSTANT(m, S4SXP);
 
+  ADD_INT_CONSTANT(m, R_LEN_T_MAX);
+
   /* "Logical" (boolean) values */
   ADD_INT_CONSTANT(m, TRUE);
   ADD_INT_CONSTANT(m, FALSE);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to