New mrb format. The detail is in https://github.com/mruby/mruby/issues/944
Change unsigned char to uint8_t
Fixed to uint8_t
Don't initialize variables that store result as MRB_DUMP_OK. It possibly causes bugs on modifications in the future.
Remove unused substitutions and calculations.
Use type cast not void* but char*. Don't substiture void pointers.
Store to *bin_size if bin_size != NULL.
Clean up code.
Sanity check. As there are implicaton SIZE_MAX >= UINT32_MAX in this code. This assumption may break on some targets which have 16bit memory space.
Don't use int. It decreases portability.   Use size_t as array index and length. It avoids overflow in the extreme situations.
Fix warnings.
Merge pull request #1 from monaka/pr-new-mrb_format

Patches to new_mrb_format
Include stddef.h. It is required by size_t. In case you include stdio.h, stddef.h is included indirectly.
Separate FILE dependencies with ENABLE_STDIO.
Reduce using snprintf(). They can replace by mruby API.
Add stdio.h. This is just for now. We should discuss about remote tests later.
Make topenv() static inlined
Make mrb_top_self return a real instance.
Merge pull request #1066 from xxuejie/static_inline_top_env

Make topenv() static inlined to avoid compiling error when using clang and -O0 mode
Fix indentation in mirb.c