From 8fdf27dcefb3916d85f84bfff2ab720a70f5b887 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Mon, 2 Mar 2015 15:43:47 +0100 Subject: [PATCH] Removed unused C lexer macros. --- ext/c/lexer.rl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ext/c/lexer.rl b/ext/c/lexer.rl index f17cd7d..0defe64 100644 --- a/ext/c/lexer.rl +++ b/ext/c/lexer.rl @@ -16,12 +16,6 @@ on `ts` and `te`) so the macro ignores this argument. #define callback_simple(name) \ liboga_xml_lexer_callback_simple(self, name); -#define oga_ivar_get(owner, name) \ - rb_ivar_get(owner, rb_intern(name)) - -#define oga_ivar_set(owner, name, value) \ - rb_ivar_set(owner, rb_intern(name), value) - #define advance_line(amount) \ rb_funcall(self, rb_intern("advance_line"), 1, INT2NUM(amount));