The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Bio::Graphics::Browser2::CAlign;

use 5.005;
use Carp;
use vars qw(@ISA @EXPORT @EXPORT_OK);
use strict;

require Exporter;
require DynaLoader;

@ISA = qw(Exporter DynaLoader);
@EXPORT    = ();
@EXPORT_OK = qw(align);

bootstrap Bio::Graphics::Browser2::CAlign;

sub align {
  my $class = shift;
  my ($src,$tgt,$matrix) = @_;
  return $class->_do_alignment($src,$tgt,$matrix);
}

1;
__END__

=head1 NAME

Bio::Graphics::Browser2::CAlign - Compiled helper for Bio::Graphics::Browser::Realign

=head1 SYNOPSIS

No user serviceable parts.

=head1 DESCRIPTION

This module is used internally by Bio::Graphics::Browser2::Realign.  If
the module is present, the Smith-Waterman alignment will be faster.
Otherwise, Bio::Graphics::Browser2::Realign will fall back to a slower
pure-perl implementation.

=head1 SEE ALSO

L<Bio::Graphics::Browser2::Realign>

=head1 AUTHOR

Lincoln Stein E<lt>lstein@cshl.orgE<gt>.

Copyright (c) 2003 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.  See DISCLAIMER.txt for
disclaimers of warranty.

=cut