NAME
Clownfish::Binding::Perl::Method - Binding for an object method.
DESCRIPTION
This class isa Clownfish::Binding::Perl::Subroutine -- see its documentation for various code-generating routines.
Method bindings use labeled parameters if the C function takes more than one argument (other than self
). If there is only one argument, the binding will be set up to accept a single positional argument.
METHODS
new
my $binding = Clownfish::Binding::Perl::Method->new(
method => $method, # required
);
method - A Clownfish::Method.
xsub_def
Generate the XSUB code.
COPYRIGHT AND LICENSE
Copyright 2008-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.