From: Charles Mills Date: 2003-12-07T04:11:44+09:00 Subject: creating new Ruby strings in C Some questions about the rb_str_new..rb_str_new5 functions. Is it possible for RSTRING(str)->ptr to reference a C string or part of a C buffer with out eventually calling free on ptr (and without stopping the gc)? I imagine the gc will eventually call free on ptr for any Ruby string created with rb_str_new2. What are str_new3 and str_new4 used for? Thanks in advance, Charlie