diff options
| author | dearblue <[email protected]> | 2019-04-27 22:28:54 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2019-04-27 22:28:54 +0900 |
| commit | b57f61ac95254cdd9becf8aab1e4e15bae404564 (patch) | |
| tree | becd3a381b4bf3e09ea9ff5245df9a3464ae394c /include/mrbconf.h | |
| parent | 6f779ceac23f1fb50dae0bea3eb734575f53294a (diff) | |
| download | mruby-b57f61ac95254cdd9becf8aab1e4e15bae404564.tar.gz mruby-b57f61ac95254cdd9becf8aab1e4e15bae404564.zip | |
Update document for any configurations
- (Modify) `MRB_INT16`
- (Add) `MRB_INT32`
- (Modify) `MRB_INT64`
- (Add) `MRB_USE_ETEXT_EDATA`
- (Add) `MRB_NO_INIT_ARRAY_START
- (Add) `MRB_WITHOUT_FLOAT`
- (Add) `MRB_METHOD_CACHE`
- (Add) `MRB_METHOD_CACHE_SIZE`
- (Add) `MRB_METHOD_TABLE_INLINE
- (Add) `MRB_ENABLE_ALL_SYMBOLS`
Diffstat (limited to 'include/mrbconf.h')
| -rw-r--r-- | include/mrbconf.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h index 08e69d3aa..caae08d7c 100644 --- a/include/mrbconf.h +++ b/include/mrbconf.h @@ -41,10 +41,15 @@ /* you might need to specify --falign-functions=n (where n>1) */ //#define MRB_METHOD_TABLE_INLINE -/* add -DMRB_INT16 to use 16bit integer for mrb_int; conflict with MRB_INT64 */ +/* add -DMRB_INT16 to use 16bit integer for mrb_int; conflict with MRB_INT32 and MRB_INT64 */ //#define MRB_INT16 -/* add -DMRB_INT64 to use 64bit integer for mrb_int; conflict with MRB_INT16 */ +/* add -DMRB_INT32 to use 32bit integer for mrb_int; conflict with MRB_INT16 and MRB_INT64; + Default for 32-bit CPU mode. */ +//#define MRB_INT32 + +/* add -DMRB_INT64 to use 64bit integer for mrb_int; conflict with MRB_INT16 and MRB_INT32; + Default for 64-bit CPU mode. */ //#define MRB_INT64 /* if no specific integer type is chosen */ |
