C
Charles Mills
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
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