diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-17 17:12:11 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-17 17:19:49 +0900 |
| commit | 8438792d27bac2a236d5eef9824d36f815c0472f (patch) | |
| tree | 65ef92685fddf3d4dd7ea1d637a4fcf3e50d1e8c /src/object.c | |
| parent | 4cca8bac6bbdab02eba11e6527f793f2e9a5e75d (diff) | |
| download | mruby-8438792d27bac2a236d5eef9824d36f815c0472f.tar.gz mruby-8438792d27bac2a236d5eef9824d36f815c0472f.zip | |
renamed "inline" to "istruct" to represent inline struct; ref #3251
Diffstat (limited to 'src/object.c')
| -rw-r--r-- | src/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c index af66d93d0..392432b0f 100644 --- a/src/object.c +++ b/src/object.c @@ -348,7 +348,7 @@ mrb_check_convert_type(mrb_state *mrb, mrb_value val, enum mrb_vtype type, const { mrb_value v; - if (mrb_type(val) == type && type != MRB_TT_DATA && type != MRB_TT_INLINE) return val; + if (mrb_type(val) == type && type != MRB_TT_DATA && type != MRB_TT_ISTRUCT) return val; v = convert_type(mrb, val, tname, method, FALSE); if (mrb_nil_p(v) || mrb_type(v) != type) return mrb_nil_value(); return v; @@ -390,7 +390,7 @@ mrb_check_type(mrb_state *mrb, mrb_value x, enum mrb_vtype t) enum mrb_vtype xt; xt = mrb_type(x); - if ((xt != t) || (xt == MRB_TT_DATA) || (xt == MRB_TT_INLINE)) { + if ((xt != t) || (xt == MRB_TT_DATA) || (xt == MRB_TT_ISTRUCT)) { while (type->type < MRB_TT_MAXDEFINE) { if (type->type == t) { const char *etype; |
