1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/encoding.h: remove unused rb_enc_ismbchar().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-08-25 15:27:08 +00:00
parent 890eb07370
commit 1ba65ebfe9
3 changed files with 7 additions and 5 deletions

View file

@ -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)