move mrb_shared_string definition to src/string.c

This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-04-29 07:24:55 +09:00
parent 5c68195c88
commit 5077f9ec8b
2 changed files with 8 additions and 8 deletions
+6
View File
@@ -23,6 +23,12 @@
const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz";
typedef struct mrb_shared_string {
int refcnt;
char *ptr;
mrb_int len;
} mrb_shared_string;
static mrb_value str_replace(mrb_state *mrb, struct RString *s1, struct RString *s2);
static mrb_value mrb_str_subseq(mrb_state *mrb, mrb_value str, mrb_int beg, mrb_int len);