From: "Berger, Daniel" Date: 2007-12-08T00:07:53+09:00 Subject: Re: Changes in C API of Ruby 1.9 > -----Original Message----- > From: hemant [mailto:gethemant@gmail.com] > Sent: Friday, December 07, 2007 6:31 AM > To: ruby-core@ruby-lang.org > Subject: Changes in C API of Ruby 1.9 > > Hi, > > Trying to port couple of my extensions to Ruby1.9 and hitting > on some issues, because of API changes from Ruby1.8. > > > RSTRING(Data)-> len ---> has been changed to -- > > RSTRING(Data)->as.heap.len ( there is a better alternative apparently > ) Ack. Please give me .length as a shortcut for as.heap.len. Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.