From 33c46a184124eaf72ed4ce812937f9fadfbe8f58 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 4 Mar 2015 00:09:15 +0100 Subject: [PATCH] Use ID instead of VALUE for callback names in C. --- ext/c/lexer.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/c/lexer.rl b/ext/c/lexer.rl index 9b50826..c0abc36 100644 --- a/ext/c/lexer.rl +++ b/ext/c/lexer.rl @@ -38,7 +38,7 @@ ID id_literal_html_element_p; */ void liboga_xml_lexer_callback( VALUE self, - VALUE name, + ID name, rb_encoding *encoding, const char *ts, const char *te