Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vm/include/capi/ruby/ruby.h
Original file line number Diff line number Diff line change
@@ -386,6 +386,9 @@ struct RString {
#define RSTRING(str) capi_rstring_struct(str, RSTRING_CACHE_SAFE)
#endif

#define RSTRING_GETMEM(rb_str, c_str, c_str_len) \
((c_str) = RSTRING_PTR(rb_str), (c_str_len) = RSTRING_LEN(rb_str))

struct RArray {
ssize_t len;
struct {

0 comments on commit 28834a4

Please sign in to comment.