From 312879693ffa88c0778baba2b6697f6e5f2f6116 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Wed, 31 Jul 2019 11:30:23 +0900 Subject: move macro to internal.h for documentation. 13e84d5c0a changes enum to macro, but the flags usage information are lost in internal.h. It should be same place with other flags information. --- internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 1dbb3d3862..832428bd03 100644 --- a/internal.h +++ b/internal.h @@ -823,6 +823,10 @@ enum ruby_rhash_flags { RHASH_AR_TABLE_BOUND_MASK = (FL_USER8|FL_USER9|FL_USER10|FL_USER11), /* FL 8..11 */ RHASH_AR_TABLE_BOUND_SHIFT = (FL_USHIFT+8), + // we can not put it in "enum" because it can exceed "int" range. +#define RHASH_LEV_MASK (FL_USER13 | FL_USER14 | FL_USER15 | /* FL 13..19 */ \ + FL_USER16 | FL_USER17 | FL_USER18 | FL_USER19) + #if USE_TRANSIENT_HEAP RHASH_TRANSIENT_FLAG = FL_USER12, /* FL 12 */ #endif -- cgit v1.2.3