Remove a meaningless type cast.
Add comments for paradnoid (a.k.a. mission critical) engineers.
Use int. They are no need to use unsigned/signed long. Think about 16bit architectures.
Copy to *lenp just in case lenp != NULL.
Use mrb_int as possible.
Add the type check in mrb_str_to_cstr().
Merge pull request #1001 from monaka/pr-add-type-check-in-mrb_str_to_cstr

Add the type check in mrb_str_to_cstr().
Remove compiler warning
Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int 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.
Merge pull request #1005 from mattn/remove_warning

Remove compiler warning
Merge pull request #987 from monaka/pr-clean-up-parse.y-20130312

Clean up parse.y.
remove PARANOID from comments
Merge pull request #993 from monaka/pr-cleanup-symbol.c-20130312

Cleanup symbol.c.
symbol length make size_t from mrb_int; cancel #993 monaka/pr-cleanup-symbol.c-20130312
use size_t for string length C API
use mrb_int as possible based on a patch from @monaka; close #994
Merge pull request #997 from monaka/pr-add-type-mrb_bool_t

Define mrb_bool_t.