<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -386,14 +386,14 @@ VALUE rb_CLASSLOWER_s_rows( VALUE klass, VALUE array )
         raise_bad_array() ;
     }
 
-    ptr = RARRAY(array)-&gt;ptr ;
-    vsize = RARRAY(array)-&gt;len ;
+    ptr = RARRAY_PTR(array) ;
+    vsize = RARRAY_LEN(array) ;
 
     if( vsize &lt; 1 || TYPE(ptr[0]) != T_ARRAY )
     {
         raise_bad_array() ;
     }
-    if( (hsize = RARRAY(ptr[0])-&gt;len) == 0 )
+    if( (hsize = RARRAY_LEN(ptr[0])) == 0 )
     {
         raise_bad_array() ;
     }
@@ -410,14 +410,14 @@ VALUE rb_CLASSLOWER_s_rows( VALUE klass, VALUE array )
             raise_bad_array() ;
         }
 
-        if( RARRAY(crow)-&gt;len != hsize )
+        if( RARRAY_LEN(crow) != hsize )
         {
             raise_bad_array() ;
         }
 
         for( j = 0 ; j != hsize ; j++ )
         {
-            a-&gt;data[i + j*a-&gt;vsize] = RUBY2FORTRAN(RARRAY(crow)-&gt;ptr[j]) ;
+            a-&gt;data[i + j*a-&gt;vsize] = RUBY2FORTRAN(RARRAY_PTR(crow)[j]) ;
         }
     }
 
@@ -549,8 +549,8 @@ VALUE rb_CLASSLOWER_s_diagonal(int argc, VALUE* argv, VALUE klass)
             long size ;
             int i ;
             
-            c_arr = RARRAY(rb)-&gt;ptr ;
-            size = RARRAY(rb)-&gt;len ;
+            c_arr = RARRAY_PTR(rb) ;
+            size = RARRAY_LEN(rb) ;
             
             if( size &lt; 1 )
             {
@@ -1443,7 +1443,7 @@ VALUE rb_CLASSLOWER_s_marshal_load(VALUE klass, VALUE str)
     CLASSUPPER* a ;
     integer vsize ;
     integer hsize ;
-    char* p = (char*)RSTRING(str)-&gt;ptr ;
+    char* p = RSTRING_PTR(str) ;
 
     vsize = *((integer*)p) ;
     p += sizeof(integer) ;</diff>
      <filename>ext/linalg/xmatrix.c.tmpl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>873853cc7dca92aafcdbf7212d802cdaf1482bbb</id>
    </parent>
  </parents>
  <author>
    <name>quix</name>
    <email>quixoticsycophant@gmail.com</email>
  </author>
  <url>http://github.com/quix/linalg/commit/dd3ee1ef3635ac48616dfd4bbe7bca997ce7419c</url>
  <id>dd3ee1ef3635ac48616dfd4bbe7bca997ce7419c</id>
  <committed-date>2008-09-28T20:38:47-07:00</committed-date>
  <authored-date>2008-09-28T20:38:47-07:00</authored-date>
  <message>Now runs on 1.9.  Use to accessor macros for RString and RArray.</message>
  <tree>d3c606112b61985c368e289ad610f15328710672</tree>
  <committer>
    <name>quix</name>
    <email>quixoticsycophant@gmail.com</email>
  </committer>
</commit>
