mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use mrb_int for RString len
This commit is contained in:
@@ -24,14 +24,14 @@ extern const char mrb_digitmap[];
|
||||
typedef struct mrb_shared_string {
|
||||
int refcnt;
|
||||
char *ptr;
|
||||
int len;
|
||||
mrb_int len;
|
||||
} mrb_shared_string;
|
||||
|
||||
struct RString {
|
||||
MRB_OBJECT_HEADER;
|
||||
int len;
|
||||
mrb_int len;
|
||||
union {
|
||||
int capa;
|
||||
mrb_int capa;
|
||||
mrb_shared_string *shared;
|
||||
} aux;
|
||||
char *ptr;
|
||||
|
||||
Reference in New Issue
Block a user