summaryrefslogtreecommitdiffhomepage
path: root/doc/guides/symbol.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/symbol.md')
-rw-r--r--doc/guides/symbol.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/symbol.md b/doc/guides/symbol.md
index 6943b2e26..9236a3c0d 100644
--- a/doc/guides/symbol.md
+++ b/doc/guides/symbol.md
@@ -76,3 +76,8 @@ 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
`MRB_SYM_2` to specify `mrb_state*` variable.
+
+### 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.