Ignore:
Timestamp:
Jul 9, 2020, 8:51:43 AM (4 years ago)
Author:
coas-nagasima
Message:

mrubyを2.1.1に更新

Location:
EcnlProtoTool/trunk/mruby-2.1.1
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/mruby-2.1.1/include/mruby/boxing_nan.h

    r331 r439  
    1 /*
    2 ** mruby/boxing_nan.h - nan boxing mrb_value definition
     1/**
     2** @file mruby/boxing_nan.h - nan boxing mrb_value definition
    33**
    44** See Copyright Notice in mruby.h
     
    1212#endif
    1313
     14#ifdef MRB_WITHOUT_FLOAT
     15# error ---->> MRB_NAN_BOXING and MRB_WITHOUT_FLOAT conflict <<----
     16#endif
     17
    1418#ifdef MRB_INT64
    1519# error ---->> MRB_NAN_BOXING and MRB_INT64 conflict <<----
     
    1721
    1822#define MRB_FIXNUM_SHIFT 0
    19 #define MRB_TT_HAS_BASIC MRB_TT_OBJECT
    20 
    21 #ifdef MRB_ENDIAN_BIG
    22 #define MRB_ENDIAN_LOHI(a,b) a b
    23 #else
    24 #define MRB_ENDIAN_LOHI(a,b) b a
    25 #endif
     23#define MRB_SYMBOL_SHIFT 0
    2624
    2725/* value representation by nan-boxing:
     
    7876
    7977#define SET_FLOAT_VALUE(mrb,r,v) do { \
    80   if (v != v) { \
     78  if ((v) != (v)) { \
    8179    (r).value.ttt = 0x7ff80000; \
    8280    (r).value.i = 0; \
Note: See TracChangeset for help on using the changeset viewer.