cleanup: avoid shadowing rb_str_subseq
commit14e47569804a5c517baafac5e3539b81a61cc017
authorEric Wong <e@80x24.org>
Sat, 10 Jan 2015 11:04:52 +0000 (10 11:04 +0000)
committerEric Wong <e@80x24.org>
Sat, 10 Jan 2015 11:07:23 +0000 (10 11:07 +0000)
tree3d88d58af90697ff740821ba5eee6d5ffde4edda
parent60dd8f8ce6e98adaab242971791fbcd61f97bf3c
cleanup: avoid shadowing rb_str_subseq

Define a MY_STR_SUBSEQ macro which checks arg counts correctly and
avoids throwing off people who may potentially want to debug this
code.
ext/kgio/connect.c
ext/kgio/kgio.h
ext/kgio/write.c
ext/kgio/writev.c