mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix spelling
This commit is contained in:
+5
-5
@@ -18,7 +18,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(MRB_32BIT) && defined(MRB_64BIT)
|
||||
#error Cannot build for 32 and 64 bit architecture at the same time
|
||||
#error Cannot build for 32 and 64-bit architecture at the same time
|
||||
#endif
|
||||
|
||||
/* configuration options: */
|
||||
@@ -73,21 +73,21 @@
|
||||
/* if defined mruby allocates Float objects in the heap to keep full precision if needed */
|
||||
//#define MRB_WORDBOX_NO_FLOAT_TRUNCATE
|
||||
|
||||
/* add -DMRB_INT32 to use 32bit integer for mrb_int; conflict with MRB_INT64;
|
||||
/* add -DMRB_INT32 to use 32-bit integer for mrb_int; conflict with MRB_INT64;
|
||||
Default for 32-bit CPU mode. */
|
||||
//#define MRB_INT32
|
||||
|
||||
/* add -DMRB_INT64 to use 64bit integer for mrb_int; conflict with MRB_INT32;
|
||||
/* add -DMRB_INT64 to use 64-bit integer for mrb_int; conflict with MRB_INT32;
|
||||
Default for 64-bit CPU mode (unless using MRB_NAN_BOXING). */
|
||||
//#define MRB_INT64
|
||||
|
||||
/* if no specific integer type is chosen */
|
||||
#if !defined(MRB_INT32) && !defined(MRB_INT64)
|
||||
# if defined(MRB_64BIT) && !defined(MRB_NAN_BOXING)
|
||||
/* Use 64bit integers on 64bit architecture (without MRB_NAN_BOXING) */
|
||||
/* Use 64-bit integers on 64-bit architecture (without MRB_NAN_BOXING) */
|
||||
# define MRB_INT64
|
||||
# else
|
||||
/* Otherwise use 32bit integers */
|
||||
/* Otherwise use 32-bit integers */
|
||||
# define MRB_INT32
|
||||
# endif
|
||||
#endif
|
||||
|
||||
@@ -80,7 +80,7 @@ enum mrb_special_consts {
|
||||
/*
|
||||
* mrb_value representation:
|
||||
*
|
||||
* 64bit word with inline float:
|
||||
* 64-bit word with inline float:
|
||||
* nil : ...0000 0000 (all bits are 0)
|
||||
* false : ...0000 0100 (mrb_fixnum(v) != 0)
|
||||
* true : ...0000 1100
|
||||
@@ -90,7 +90,7 @@ enum mrb_special_consts {
|
||||
* float : ...FFFF FF10 (51 bit significands; require MRB_64BIT)
|
||||
* object: ...PPPP P000
|
||||
*
|
||||
* 32bit word with inline float:
|
||||
* 32-bit word with inline float:
|
||||
* nil : ...0000 0000 (all bits are 0)
|
||||
* false : ...0000 0100 (mrb_fixnum(v) != 0)
|
||||
* true : ...0000 1100
|
||||
|
||||
@@ -18,8 +18,8 @@ MRB_BEGIN_DECL
|
||||
enum irep_pool_type {
|
||||
IREP_TT_STR = 0, /* string (need free) */
|
||||
IREP_TT_SSTR = 2, /* string (static) */
|
||||
IREP_TT_INT32 = 1, /* 32bit integer */
|
||||
IREP_TT_INT64 = 3, /* 64bit integer */
|
||||
IREP_TT_INT32 = 1, /* 32-bit integer */
|
||||
IREP_TT_INT64 = 3, /* 64-bit integer */
|
||||
IREP_TT_BIGINT = 7, /* big integer (not yet supported) */
|
||||
IREP_TT_FLOAT = 5, /* float (double/float) */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user