diff --git a/examples/mrbgems/mruby-YOUR-bigint/TODO-HINT.md b/examples/mrbgems/mruby-YOUR-bigint/TODO-HINT.md index d1877f517..4926afe15 100644 --- a/examples/mrbgems/mruby-YOUR-bigint/TODO-HINT.md +++ b/examples/mrbgems/mruby-YOUR-bigint/TODO-HINT.md @@ -21,9 +21,9 @@ The file structure in this example is as follows: May be depended on by other GEMs. ``` -Implementors of their own bigints should copy below this directory to another directory and do the following: +Implementers of their own bigints should copy below this directory to another directory and do the following: -- Rewrite `spec.author`, `spec.license`, `spec.homepage` and `spec.summary` in `/mrbgem.rake` file to those of your own implementors. +- Rewrite `spec.author`, `spec.license`, `spec.homepage` and `spec.summary` in `/mrbgem.rake` file to those of your own implementers. - Implement the respective functions in `/core/bigint.c`. - Define and use an object structure for `MRB_TT_BIGINT` type-tag. It is recommended to use `mrb_static_assert_object_size()` to ensure that the size of the object structure is within six words. diff --git a/src/string.c b/src/string.c index bd060a9e4..6a2ee959b 100644 --- a/src/string.c +++ b/src/string.c @@ -2423,7 +2423,7 @@ mrb_str_len_to_integer(mrb_state *mrb, const char *str, size_t len, mrb_int base return mrb_fixnum_value(0); } -/* obslete: use RSTRING_CSTR() or mrb_string_cstr() */ +/* obsolete: use RSTRING_CSTR() or mrb_string_cstr() */ MRB_API const char* mrb_string_value_cstr(mrb_state *mrb, mrb_value *ptr) {