/*
* Returns +true+ if the scan pointer is at the end of the string.
*
* s = StringScanner.new('test string')
* p s.eos? # => false
* s.scan(/test/)
* p s.eos? # => false
* s.terminate
* p s.eos? # => true
*/
static VALUE
strscan_eos_p(self)
VALUE self;
{
struct strscanner *p;
GET_SCANNER(self, p);
if (EOS_P(p))
return Qtrue;
else
return Qfalse;
}