summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-04-27 22:29:20 +0900
committerdearblue <[email protected]>2019-04-27 22:29:20 +0900
commit828a99894179e858b4ddda4ba686413b56f986de (patch)
tree0f47c4137cad0281c6689ab37cb4b06bc6d64288 /include
parentb57f61ac95254cdd9becf8aab1e4e15bae404564 (diff)
downloadmruby-828a99894179e858b4ddda4ba686413b56f986de.tar.gz
mruby-828a99894179e858b4ddda4ba686413b56f986de.zip
Update document for `MRB_USE_CUSTOM_RO_DATA_P`
Diffstat (limited to 'include')
-rw-r--r--include/mrbconf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index caae08d7c..6b0b9e37e 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -93,6 +93,11 @@
effective only when MRB_USE_ETEXT_EDATA is defined */
//#define MRB_NO_INIT_ARRAY_START
+/* if do not works both MRB_USE_ETEXT_EDATA and MRB_NO_INIT_ARRAY_START,
+ you can try mrb_ro_data_p() that you have implemented yourself in any file;
+ prototype is `mrb_bool mrb_ro_data_p(const char *ptr)` */
+//#define MRB_USE_CUSTOM_RO_DATA_P
+
/* turn off generational GC by default */
//#define MRB_GC_TURN_OFF_GENERATIONAL