From f61187d870c580b6411d025ac1850cc3e5f2eb6a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 14 Jan 2011 14:13:38 -0800 Subject: remove dead RSTRUCT* compatibility macros The Clogger::ToPath proxy struct class is gone and so is our need to access it. --- ext/clogger_ext/ruby_1_9_compat.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ext/clogger_ext/ruby_1_9_compat.h b/ext/clogger_ext/ruby_1_9_compat.h index ef103e4..30a38d6 100644 --- a/ext/clogger_ext/ruby_1_9_compat.h +++ b/ext/clogger_ext/ruby_1_9_compat.h @@ -11,14 +11,6 @@ #ifndef RARRAY_LEN # define RARRAY_LEN(s) (RARRAY(s)->len) #endif -#ifndef RUBINIUS -# ifndef RSTRUCT_PTR -# define RSTRUCT_PTR(s) (RSTRUCT(s)->ptr) -# endif -# ifndef RSTRUCT_LEN -# define RSTRUCT_LEN(s) (RSTRUCT(s)->len) -# endif -#endif #ifndef HAVE_RB_STR_SET_LEN /* this is taken from Ruby 1.8.7, 1.8.6 may not have it */ -- cgit v1.2.3-24-ge0c7