mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rename boxing_nix.h to boxing_no.h
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
** mruby/boxing_nix.h - unboxed mrb_value definition
|
||||
** mruby/boxing_no.h - unboxed mrb_value definition
|
||||
**
|
||||
** See Copyright Notice in mruby.h
|
||||
*/
|
||||
|
||||
#ifndef MRUBY_BOXING_NIX_H
|
||||
#define MRUBY_BOXING_NIX_H
|
||||
#ifndef MRUBY_BOXING_NO_H
|
||||
#define MRUBY_BOXING_NO_H
|
||||
|
||||
#define MRB_FIXNUM_SHIFT 0
|
||||
#define MRB_TT_HAS_BASIC MRB_TT_OBJECT
|
||||
@@ -46,4 +46,4 @@ typedef struct mrb_value {
|
||||
#define SET_CPTR_VALUE(mrb,r,v) BOXNIX_SET_VALUE(r, MRB_TT_CPTR, value.p, v)
|
||||
#define SET_UNDEF_VALUE(r) BOXNIX_SET_VALUE(r, MRB_TT_UNDEF, value.i, 0)
|
||||
|
||||
#endif /* MRUBY_BOXING_NIX_H */
|
||||
#endif /* MRUBY_BOXING_NO_H */
|
||||
@@ -101,7 +101,7 @@ enum mrb_vtype {
|
||||
#elif defined(MRB_WORD_BOXING)
|
||||
#include "boxing_word.h"
|
||||
#else
|
||||
#include "boxing_nix.h"
|
||||
#include "boxing_no.h"
|
||||
#endif
|
||||
|
||||
#ifndef mrb_fixnum_p
|
||||
|
||||
Reference in New Issue
Block a user