summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-06-25 23:36:04 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-06-25 23:36:04 +0900
commit729a760f911955591fed6d8bd2d19f8d3db2b048 (patch)
tree9e8eed3bc9e18e8f383e5cf53f8dc73ccd56a743 /doc
parent9dab02224d5ad271ee89e6d7dba4d9cd6a3ce7c5 (diff)
parentc19f5efaaf1b8b8156d2fb6f1daafbcc1270ebc9 (diff)
downloadmruby-729a760f911955591fed6d8bd2d19f8d3db2b048.tar.gz
mruby-729a760f911955591fed6d8bd2d19f8d3db2b048.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'doc')
-rw-r--r--doc/mrbconf/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/mrbconf/README.md b/doc/mrbconf/README.md
index f0dd50da5..698d2526f 100644
--- a/doc/mrbconf/README.md
+++ b/doc/mrbconf/README.md
@@ -17,6 +17,10 @@ You can use mrbconfs with following ways:
`DISABLE_STDIO`
* When defined `<stdio.h>` functions won't be used.
+* Some features will be disabled when this is enabled:
+ * `mrb_irep` load/dump from/to file.
+ * Compiling mruby script from file.
+ * Printing features in **src/print.c**.
## Debug macros.
`ENABLE_DEBUG`
@@ -104,3 +108,18 @@ largest value of required alignment.
`MRB_FIXED_STATE_ATEXIT_STACK_SIZE`
* Default value is `5`.
* If `MRB_FIXED_STATE_ATEXIT_STACK` isn't defined this macro is ignored.
+
+## `mrb_value` configuration.
+
+`MRB_ENDIAN_BIG`
+* If defined compiles mruby for big endian machines.
+* Used in `MRB_NAN_BOXING`.
+* Some mrbgem use this mrbconf.
+
+`MRB_NAN_BOXING`
+* If defined represent `mrb_value` in boxed `double`.
+* Conflicts with `MRB_USE_FLOAT`.
+
+`MRB_WORD_BOXING`
+* If defined represent `mrb_value` as a word.
+* If defined `Float` will be a mruby object with `RBasic`.