From affb5cb7c2e91ea38640ea0580af34a5f7cabf93 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 10 May 2012 23:16:28 +0900 Subject: remove encode_class and converter_class from mrb_state --- src/encoding.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/encoding.h') diff --git a/src/encoding.h b/src/encoding.h index 0cae09db0..b923ab98f 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -348,6 +348,9 @@ void mrb_econv_binmode(mrb_econv_t *ec); int mrb_isspace(int c); +#define ENCODE_CLASS (mrb_class_obj_get(mrb, "Encoding")) +#define CONVERTER_CLASS (mrb_class_obj_get(mrb, "Converter")) + #if defined(__cplusplus) } /* extern "C" { */ #endif -- cgit v1.2.3