summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/symbol.md6
-rw-r--r--doc/mruby3.md4
2 files changed, 3 insertions, 7 deletions
diff --git a/doc/guides/symbol.md b/doc/guides/symbol.md
index 9236a3c0d..e9e72a6d3 100644
--- a/doc/guides/symbol.md
+++ b/doc/guides/symbol.md
@@ -71,7 +71,7 @@ can be specified for it). Other than that, describe only word characters
excluding leading and ending punctuations.
These macros are converted to static symbol IDs at compile time, unless
-preallocate symbols are disabled by defining `MRB_NO_PRESYM`. In that case,
+preallocate symbols are disabled by `conf.disable_presym`. In that case,
these macros are expanded to `mrb_intern_lit` calls, therefore the mruby state
variable is required. The above macros assume the variable name is `mrb`. If
its name is not `mrb`, you need to use macros with `_2` suffix, such as
@@ -79,5 +79,5 @@ its name is not `mrb`, you need to use macros with `_2` suffix, such as
### Disabling Preallocated Symbols
-By defining `MRB_NO_PRESYM` macro, you can disable preallocated symbols.
-Or you can specify `conf.disable_presym` in the configuration file.
+You can disable preallocated symbols by specifying `conf.disable_presym` in the
+configuration file.
diff --git a/doc/mruby3.md b/doc/mruby3.md
index 5b38e3dfe..ebd2673d5 100644
--- a/doc/mruby3.md
+++ b/doc/mruby3.md
@@ -90,10 +90,6 @@ changed from previous versions.
Call `malloc_trim(0)` from mrb_full_gc() if this macro is defined.
If you are using glibc malloc, this macro could reduce memory consumption.
-## `MRB_NO_PRESYM`
-
-Remove preallocated symbol system.
-
# Command Line Program
## `bin/mruby` (by mrbgems/mruby-bin-mruby)