Avoid using C++ style comments (//).

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-05-30 11:47:59 +09:00
parent 4b15d5d1e3
commit 27a5e10454
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ mrb_class(mrb_state *mrb, mrb_value v)
}
}
// TODO: figure out where to put user flags
/* TODO: figure out where to put user flags */
#define MRB_FLAG_IS_FROZEN (1 << 18)
#define MRB_FLAG_IS_PREPENDED (1 << 19)
#define MRB_FLAG_IS_ORIGIN (1 << 20)
+2
View File
@@ -48,9 +48,11 @@ mrb_value mrb_num_div(mrb_state *mrb, mrb_value x, mrb_value y);
# define MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS
#endif
/*
// Clang 3.8 and 3.9 have problem compiling mruby in 32-bit mode, when MRB_INT64 is set
// because of missing __mulodi4 and similar functions in its runtime. We need to use custom
// implementation for them.
*/
#ifdef MRB_HAVE_TYPE_GENERIC_CHECKED_ARITHMETIC_BUILTINS
#if defined(__clang__) && (__clang_major__ == 3) && (__clang_minor__ >= 8) && \
defined(MRB_32BIT) && defined(MRB_INT64)