Revert half of 9fbf0ef8.

I misunderstand the meaning of #4483. Sorry.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-11-17 22:47:25 +09:00
parent 5abb283dd7
commit 7c80edb577
4 changed files with 33 additions and 25 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ MRB_BEGIN_DECL
typedef struct mrb_shared_array {
int refcnt;
mrb_int len;
mrb_ssize len;
mrb_value *ptr;
} mrb_shared_array;
@@ -33,9 +33,9 @@ struct RArray {
MRB_OBJECT_HEADER;
union {
struct {
mrb_int len;
mrb_ssize len;
union {
mrb_int capa;
mrb_ssize capa;
mrb_shared_array *shared;
} aux;
mrb_value *ptr;