diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-26 19:33:03 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-26 19:33:03 +0900 |
| commit | c3424615821192488f644d41eff21fa349a1eb2f (patch) | |
| tree | 47bc44ad006adc80e2bc1af02f6519071f1c3ba8 /include | |
| parent | 8c7b1401a50687dfd1d0c253c03eefdb8815154a (diff) | |
Remove an useless macro definition `RSTRUCT_PTR`
The underlying definition, `rb_struct_ptr`, was removed four years
ago.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ruby/internal/core/rstruct.h | 12 |
1 files changed, 0 insertions, 12 deletions
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 |
