Revision history for Mouse
+0.40_04
+ * Implement type constraint generators in XS
+
0.40_03 Fri Oct 30 12:03:58 2009
* Update Module::Install::XSUtil to 0.15
use Mouse::Exporter; # enables strict and warnings
-our $VERSION = '0.40_03';
+our $VERSION = '0.40_04';
use Carp qw(confess);
use Scalar::Util qw(blessed);
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SYNOPSIS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SYNOPSIS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 METHODS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 METHODS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 DESCRIPTION
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 METHODS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SEE ALSO
package Mouse::Role;
use Mouse::Exporter; # enables strict and warnings
-our $VERSION = '0.40_03';
+our $VERSION = '0.40_04';
use Carp qw(confess);
use Scalar::Util qw(blessed);
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SYNOPSIS
use strict;
use warnings;
-our $VERSION = '0.40_03';
+our $VERSION = '0.40_04';
our $MouseVersion = $VERSION;
our $MooseVersion = '0.90';
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 SYNOPSIS
# Because Mouse::Util is loaded first in all the Mouse sub-modules,
# XS loader is placed here, not in Mouse.pm.
- our $VERSION = '0.40_03';
+ our $VERSION = '0.40_04';
my $need_pp = !!$ENV{MOUSE_PUREPERL};
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 IMPLEMENTATIONS FOR
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head2 SYNOPSIS
=head1 VERSION
-This document describes Mouse version 0.40_03
+This document describes Mouse version 0.40_04
=head1 DESCRIPTION
namespace(SV* self)
CODE:
{
- SV* const package = get_slot(aTHX_ self, mouse_package);
+ SV* const package = get_slot(self, mouse_package);
if(!(package && SvOK(package))){
croak("No package name defined");
}
add_method(SV* self, SV* name, SV* code, ...)
CODE:
{
- SV* const package = get_slot(aTHX_ self, mouse_package); /* $self->{package} */
- SV* const methods = get_slot(aTHX_ self, mouse_methods); /* $self->{methods} */
+ SV* const package = get_slot(self, mouse_package); /* $self->{package} */
+ SV* const methods = get_slot(self, mouse_methods); /* $self->{methods} */
GV* gv;
SV* code_ref;