mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix spelling
This commit is contained in:
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user