From: matz@... (Yukihiro Matsumoto) Date: 2002-11-23T23:49:27+09:00 Subject: Re: Modifying DATA_PTR - Is it safe? Hi, In message "Modifying DATA_PTR - Is it safe?" on 02/11/23, "Tim Hunter" writes: |In a C extension, is it safe to change the value of the data element |in struct RData via the DATA_PTR macro? | |By "safe," I mean, will it cause Ruby any problems? Will the DATA_PTR |macro be supported in future releases? (I'm at 1.6.7.) It will not cause any problem, if you process referenced C object properly. And DATA_PTR is available on 1.7 and will be on 1.8. matz.