Fix spelling

This commit is contained in:
John Bampton
2023-10-04 01:09:15 +10:00
parent 83d12f8d52
commit 24ac7a547a
2 changed files with 3 additions and 3 deletions
@@ -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 `<gem-dir>/mrbgem.rake` file to those of your own implementors.
- Rewrite `spec.author`, `spec.license`, `spec.homepage` and `spec.summary` in `<gem-dir>/mrbgem.rake` file to those of your own implementers.
- Implement the respective functions in `<gem-dir>/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.
+1 -1
View File
@@ -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)
{