aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/encoding.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index d23238a186..0fd2e3ce52 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -53,8 +53,6 @@ rb_encoding * rb_enc_find(const char *name);
#define rb_enc_mbclen(p,enc) ONIGENC_MBC_ENC_LEN(enc, (UChar*)p)
#define rb_enc_codelen(c,enc) ONIGENC_CODE_TO_MBCLEN(enc,c)
-#define rb_enc_ismbchar(c,enc) (rb_enc_mbclen((&c), enc) != 1)
-
/* code,ptr,encoding -> write buf */
#define rb_enc_mbcput(c,buf,enc) ONIGENC_CODE_TO_MBC(enc,c,(UChar*)buf)