summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-11-17 17:12:11 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-11-17 17:19:49 +0900
commit8438792d27bac2a236d5eef9824d36f815c0472f (patch)
tree65ef92685fddf3d4dd7ea1d637a4fcf3e50d1e8c /src/class.c
parent4cca8bac6bbdab02eba11e6527f793f2e9a5e75d (diff)
downloadmruby-8438792d27bac2a236d5eef9824d36f815c0472f.tar.gz
mruby-8438792d27bac2a236d5eef9824d36f815c0472f.zip
renamed "inline" to "istruct" to represent inline struct; ref #3251
Diffstat (limited to 'src/class.c')
-rw-r--r--src/class.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class.c b/src/class.c
index 53354d02a..d02253c57 100644
--- a/src/class.c
+++ b/src/class.c
@@ -14,7 +14,7 @@
#include <mruby/variable.h>
#include <mruby/error.h>
#include <mruby/data.h>
-#include <mruby/inline.h>
+#include <mruby/istruct.h>
KHASH_DEFINE(mt, mrb_sym, struct RProc*, TRUE, kh_int_hash_func, kh_int_hash_equal)
@@ -712,11 +712,11 @@ mrb_get_args(mrb_state *mrb, const char *format, ...)
p = va_arg(ap, void**);
if (i < argc) {
ss = ARGV[arg_i];
- if (mrb_type(ss) != MRB_TT_INLINE)
+ if (mrb_type(ss) != MRB_TT_ISTRUCT)
{
mrb_raisef(mrb, E_TYPE_ERROR, "%S is not inline struct", ss);
}
- *p = mrb_inline_ptr(ss);
+ *p = mrb_istruct_ptr(ss);
arg_i++;
i++;
}