mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
irep->pool struct pool -> mrb_value
This commit is contained in:
+1
-11
@@ -26,17 +26,7 @@ typedef struct mrb_irep {
|
||||
uint8_t flags;
|
||||
|
||||
mrb_code *iseq;
|
||||
struct irep_pool {
|
||||
union {
|
||||
mrb_float f;
|
||||
struct irep_pool_string {
|
||||
mrb_int len;
|
||||
char buf[1];
|
||||
} *s;
|
||||
mrb_int i;
|
||||
} value;
|
||||
enum irep_pool_type type;
|
||||
} *pool;
|
||||
mrb_value *pool;
|
||||
mrb_sym *syms;
|
||||
struct mrb_irep **reps;
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ char *mrb_string_value_cstr(mrb_state *mrb, mrb_value *ptr);
|
||||
char *mrb_string_value_ptr(mrb_state *mrb, mrb_value ptr);
|
||||
int mrb_str_offset(mrb_state *mrb, mrb_value str, int pos);
|
||||
mrb_value mrb_str_dup(mrb_state *mrb, mrb_value str);
|
||||
mrb_value mrb_str_dup_static(mrb_state *mrb, mrb_value str);
|
||||
mrb_value mrb_str_intern(mrb_state *mrb, mrb_value self);
|
||||
mrb_value mrb_str_cat_cstr(mrb_state *, mrb_value, const char *);
|
||||
mrb_value mrb_str_to_inum(mrb_state *mrb, mrb_value str, int base, int badcheck);
|
||||
|
||||
Reference in New Issue
Block a user