Result:
found 5 distributions and 14 files matching your query ! ( run in 0.366 )


ExtUtils-ParseXS

 view release on metacpan or  search on metacpan

lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN

use ExtUtils::Typemaps;

require Exporter;

our @ISA = qw(Exporter);
our @EXPORT = qw(embeddable_typemap);
our %EXPORT_TAGS = (all => \@EXPORT);

sub embeddable_typemap {
  my @tms = @_;

  # Get typemap objects
  my @tm_objs = map [$_, _intuit_typemap_source($_)], @tms;

lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN

=head1 SYNOPSIS

From XS:

  INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd \
                   -e "print embeddable_typemap(q{Excommunicated})"

Loads C<ExtUtils::Typemaps::Excommunicated>, instantiates an object,
and dumps it as an embeddable typemap for use directly in your XS file.

=head1 DESCRIPTION

lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN


For this reason, the following functions are exported by default:

=head1 EXPORTED FUNCTIONS

=head2 embeddable_typemap

Given a list of identifiers, C<embeddable_typemap>
tries to load typemaps from a file of the given name(s),
or from a module that is an C<ExtUtils::Typemaps> subclass.

Returns a string representation of the merged typemaps that can
be included verbatim into XS. Example:

  print embeddable_typemap(
    "Excommunicated", "ExtUtils::Typemaps::Basic", "./typemap"
  );

This will try to load a module C<ExtUtils::Typemaps::Excommunicated>
and use it as an C<ExtUtils::Typemaps> subclass. If that fails, it'll

 view all matches for this distribution


ExtUtils-Typemaps-Excommunicated

 view release on metacpan or  search on metacpan

lib/ExtUtils/Typemaps/Excommunicated.pm  view on Meta::CPAN

To use one or more of the typemaps from this module in a CPAN
distribution, add a built-time dependency on this module, and
include the following line in your XS code:

  INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd \
                   -e "print embeddable_typemap(q{Excommunicated})"

=head1 DESCRIPTION

C<ExtUtils::Typemaps::Excommunicated> is an C<ExtUtils::Typemaps>
subclass that provides typemaps that have been booted from the perl

 view all matches for this distribution


ExtUtils-Typemaps-Magic

 view release on metacpan or  search on metacpan

lib/ExtUtils/Typemaps/Magic.pm  view on Meta::CPAN


If you author using C<Dist::Zilla> you can use L<Dist::Zilla::Plugin::Typemap> instead.

Alternatively, you can include it at runtime by adding the following to your XS file:

 INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd -e "print embeddable_typemap('Magic')"

That does require adding a build time dependency on this module.

=head1 AUTHOR

 view all matches for this distribution


ExtUtils-Typemaps-Misc

 view release on metacpan or  search on metacpan

lib/ExtUtils/Typemaps/IntObj.pm  view on Meta::CPAN


If you author using C<Dist::Zilla> you can use L<Dist::Zilla::Plugin::Typemap> instead.

Alternatively, you can include it at runtime by adding the following to your XS file:

 INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd -e "print embeddable_typemap('IntObj')"

That does require adding a build time dependency on this module.

=head1 AUTHOR

 view all matches for this distribution


perl

 view release on metacpan or  search on metacpan

dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN

use ExtUtils::Typemaps;

require Exporter;

our @ISA = qw(Exporter);
our @EXPORT = qw(embeddable_typemap);
our %EXPORT_TAGS = (all => \@EXPORT);

sub embeddable_typemap {
  my @tms = @_;

  # Get typemap objects
  my @tm_objs = map [$_, _intuit_typemap_source($_)], @tms;

dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN

=head1 SYNOPSIS

From XS:

  INCLUDE_COMMAND: $^X -MExtUtils::Typemaps::Cmd \
                   -e "print embeddable_typemap(q{Excommunicated})"

Loads C<ExtUtils::Typemaps::Excommunicated>, instantiates an object,
and dumps it as an embeddable typemap for use directly in your XS file.

=head1 DESCRIPTION

dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps/Cmd.pm  view on Meta::CPAN


For this reason, the following functions are exported by default:

=head1 EXPORTED FUNCTIONS

=head2 embeddable_typemap

Given a list of identifiers, C<embeddable_typemap>
tries to load typemaps from a file of the given name(s),
or from a module that is an C<ExtUtils::Typemaps> subclass.

Returns a string representation of the merged typemaps that can
be included verbatim into XS. Example:

  print embeddable_typemap(
    "Excommunicated", "ExtUtils::Typemaps::Basic", "./typemap"
  );

This will try to load a module C<ExtUtils::Typemaps::Excommunicated>
and use it as an C<ExtUtils::Typemaps> subclass. If that fails, it'll

 view all matches for this distribution


( run in 0.366 second using v1.01-cache-2.11-cpan-a5abf4f5562 )