From c3424615821192488f644d41eff21fa349a1eb2f Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 26 Dec 2025 19:33:03 +0900 Subject: Remove an useless macro definition `RSTRUCT_PTR` The underlying definition, `rb_struct_ptr`, was removed four years ago. --- include/ruby/internal/core/rstruct.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/ruby/internal') diff --git a/include/ruby/internal/core/rstruct.h b/include/ruby/internal/core/rstruct.h index 69be487b59..0028a1bdcd 100644 --- a/include/ruby/internal/core/rstruct.h +++ b/include/ruby/internal/core/rstruct.h @@ -31,18 +31,6 @@ # include "ruby/backward.h" #endif -/** - * @private - * - * @deprecated This macro once was a thing in the old days, but makes no sense - * any longer today. Exists here for backwards compatibility - * only. You can safely forget about it. - * - * @internal - * - * Declaration of rb_struct_ptr() is at include/ruby/backward.h. - */ -#define RSTRUCT_PTR(st) rb_struct_ptr(st) /** @cond INTERNAL_MACRO */ #define RSTRUCT_LEN RSTRUCT_LEN #define RSTRUCT_SET RSTRUCT_SET -- cgit v1.2.3