/**
 * call-seq:
 *  sectors() -> int or nil
 * 
 * Return the length of the disc in sectors.
 * 
 * Returns +nil+ if no ID was yet read.
 */
static VALUE mb_discid_sectors(VALUE self)
{
        if (rb_iv_get(self, "@read") == Qfalse)
                return Qnil;
        else
        {
                DiscId *disc;
                Data_Get_Struct(self, DiscId, disc);
                
                return INT2FIX(discid_get_sectors(disc));
        }
}