Revision: 572
          http://rpy.svn.sourceforge.net/rpy/?rev=572&view=rev
Author:   lgautier
Date:     2008-07-05 07:44:57 -0700 (Sat, 05 Jul 2008)

Log Message:
-----------
Cleaner definition of constant masks for R status

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

Modified: branches/rpy_nextgen/rpy/rinterface/rinterface.c
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-07-05 14:43:41 UTC 
(rev 571)
+++ branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-07-05 14:44:57 UTC 
(rev 572)
@@ -112,6 +112,9 @@
 
 /* Helper variable to store R's status
  */
+const unsigned int const RPY_R_INITIALIZED = 0x01;
+const unsigned int const RPY_R_BUSY = 0x02;
+
 static unsigned int embeddedR_status = 0;
 static PyObject *embeddedR_isInitialized;
 

Modified: branches/rpy_nextgen/rpy/rinterface/rinterface.h
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/rinterface.h    2008-07-05 14:43:41 UTC 
(rev 571)
+++ branches/rpy_nextgen/rpy/rinterface/rinterface.h    2008-07-05 14:44:57 UTC 
(rev 572)
@@ -9,8 +9,8 @@
 //#define RPY_VERBOSE
 
 
-const unsigned int RPY_R_INITIALIZED = 0x01;
-const unsigned int RPY_R_BUSY = 0x02;
+extern const unsigned int const RPY_R_INITIALIZED;
+extern const unsigned int const RPY_R_BUSY;
 
 /* Representation of R objects (instances) as instances in Python.
  */


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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to