Commit c261c015 authored by Syohei YOSHIDA's avatar Syohei YOSHIDA

Fix misspellings in document

parent 5c25a9a6
...@@ -49,7 +49,7 @@ It returns number of function retrieved. ...@@ -49,7 +49,7 @@ It returns number of function retrieved.
char|mruby type|retrieve types|note char|mruby type|retrieve types|note
:---:|----------|--------------|--- :---:|----------|--------------|---
`o`|`Object`|`mrb_value`|Could be used to retreive any type of argument `o`|`Object`|`mrb_value`|Could be used to retrieve any type of argument
`C`|`Class`/`Module`|`mrb_value`| `C`|`Class`/`Module`|`mrb_value`|
`S`|`String`|`mrb_value`| `S`|`String`|`mrb_value`|
`A`|`Array`|`mrb_value`| `A`|`Array`|`mrb_value`|
......
...@@ -245,7 +245,7 @@ mruby can use C++ exception to raise exception internally. ...@@ -245,7 +245,7 @@ mruby can use C++ exception to raise exception internally.
It is called C++ ABI mode. It is called C++ ABI mode.
By using C++ exception it can release C++ stack object correctly. By using C++ exception it can release C++ stack object correctly.
Whenever you mix C++ code C++ ABI mode would be enabled automatically. Whenever you mix C++ code C++ ABI mode would be enabled automatically.
If you need to enable C++ ABI mode explicity add the following: If you need to enable C++ ABI mode explicitly add the following:
```ruby ```ruby
conf.enable_cxx_abi conf.enable_cxx_abi
``` ```
...@@ -409,7 +409,7 @@ like this: ...@@ -409,7 +409,7 @@ like this:
An extra directory is created for the target platform. In case you An extra directory is created for the target platform. In case you
compile for *i386* a directory called *i386* is created under the compile for *i386* a directory called *i386* is created under the
build direcotry. build directory.
The cross compilation workflow starts in the same way as the normal The cross compilation workflow starts in the same way as the normal
compilation by compiling all *native* libraries and binaries. compilation by compiling all *native* libraries and binaries.
......
...@@ -144,7 +144,7 @@ Example: ...@@ -144,7 +144,7 @@ Example:
(foo.rb:1) continue 3 (foo.rb:1) continue 3
``` ```
This will resume the profram and stop it at the third breakpoint. This will resume the program and stop it at the third breakpoint.
#### Delete Command #### Delete Command
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
## How to use these macros. ## How to use these macros.
You can use mrbconfs with following ways: You can use mrbconfs with following ways:
* Write them in `mrbconf.h`. * Write them in `mrbconf.h`.
* Using compiler flags is prefered when building a cross binaries or multiple mruby binaries * Using compiler flags is preferred when building a cross binaries or multiple mruby binaries
since it's easier to use different mrbconf per each `MRuby::Build`. since it's easier to use different mrbconf per each `MRuby::Build`.
* Most flags can be enabled by just commenting in. * Most flags can be enabled by just commenting in.
* Pass them as compiler flags. * Pass them as compiler flags.
......
...@@ -200,7 +200,7 @@ the following options additionally inside of your GEM specification: ...@@ -200,7 +200,7 @@ the following options additionally inside of your GEM specification:
* `spec.test_objs` (Object test files for integration into mrbtest) * `spec.test_objs` (Object test files for integration into mrbtest)
* `spec.test_preload` (Initialization files for mrbtest) * `spec.test_preload` (Initialization files for mrbtest)
### include_paths and depencency ### include_paths and dependency
Your GEM can export include paths to another GEMs that depends on your GEM. Your GEM can export include paths to another GEMs that depends on your GEM.
By default, `/...absolute path.../{GEM_NAME}/include` will be exported. By default, `/...absolute path.../{GEM_NAME}/include` will be exported.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment