From 192bc725290ca4b271bff2bae6123d84c25f7173 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 20 Oct 2022 14:42:08 +0900 Subject: Define `UNDEF_P` and `NIL_OR_UNDEF_P` [EXPERIMENTAL] --- internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 695c9cfb7e..b63af50616 100644 --- a/internal.h +++ b/internal.h @@ -25,6 +25,9 @@ /* Prevent compiler from reordering access */ #define ACCESS_ONCE(type,x) (*((volatile type *)&(x))) +#define UNDEF_P RB_UNDEF_P +#define NIL_OR_UNDEF_P RB_NIL_OR_UNDEF_P + #include "ruby/ruby.h" /* Following macros were formerly defined in this header but moved to somewhere -- cgit v1.2.3