D
Daniel Berger
Hi all,
I wanted to use rb_str_replace for a destructive method in a C
extension I'm using. However, it doesn't appear to be public. Why
not? And what should I use instead?
I poked around intern.h a bit, and saw a few potential candidates, but
wasn't sure if there was a suitable replacement. I suppose I could use
rb_funcall, but that seems wrong, given that I know rb_str_replace
exists in string.c.
Regards,
Dan
I wanted to use rb_str_replace for a destructive method in a C
extension I'm using. However, it doesn't appear to be public. Why
not? And what should I use instead?
I poked around intern.h a bit, and saw a few potential candidates, but
wasn't sure if there was a suitable replacement. I suppose I could use
rb_funcall, but that seems wrong, given that I know rb_str_replace
exists in string.c.
Regards,
Dan