summaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-25 15:27:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-25 15:27:08 +0000
commite155ff550f2c94b3b02479ff7e712dce0e5fb388 (patch)
tree8bb466dc369b35daa4cbcff9f52b8ce224cb0ef5 /include/ruby/encoding.h
parentebbe896ca31a3eceb2d153bbd0b26fa303abbe2f (diff)
downloadruby-e155ff550f2c94b3b02479ff7e712dce0e5fb388.tar.gz
ruby-e155ff550f2c94b3b02479ff7e712dce0e5fb388.tar.xz
ruby-e155ff550f2c94b3b02479ff7e712dce0e5fb388.zip
* include/ruby/encoding.h: remove unused rb_enc_ismbchar().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
-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 d23238a18..0fd2e3ce5 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)