According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
You will not see "arena overflow" error anymore, but I encourage gem authors to check your gems with MRB_GC_FIXED_ARENA to avoid memory broat.
It is not used in the core. It does not have mrb_ prefix. strtol() is slightly heavy and we have similar API.
….h, stddef.h is included indirectly.
…on MSVC. It is safer than applying 1bit bit-fields to signed int. For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
For portability: %ld can't be used to print a 64-bit mrb_int on WIN(32|64) because long is 32-bit wide.
Use MRB_IREP_ARRAY_INIT_SIZE macro.
…t is possible to reduce RAM size.
- undef for windows is not used by default so comment it - casting to the same type is not needed - parenthesis are not needed for macro attributes separated by commas - change order of MRB_NAN_BOXING and MRB_INT64 to simplify logic