FFI-Platypus-Type-Enum

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::Pod" : "0",
            "Test::Pod::Coverage" : "0",
            "Test::Pod::Spelling::CommonMistakes" : "0",
            "Test::Spelling" : "0",
            "Test::Strict" : "0",
            "YAML" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "Ref::Util" : "0",
            "constant" : "1.32",
            "perl" : "5.008001"
         }
      },
      "test" : {
         "requires" : {
            "FFI::Platypus" : "1.00",
            "Test2::V0" : "0.000121",
            "perl" : "5.008001"
         }

META.yml  view on Meta::CPAN

  ExtUtils::MakeMaker: '0'
  perl: '5.008001'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.019, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: FFI-Platypus-Type-Enum
requires:
  Ref::Util: '0'
  constant: '1.32'
  perl: '5.008001'
resources:
  bugtracker: https://github.com/PerlFFI/FFI-Platypus-Type-Enum/issues
  homepage: https://metacpan.org/pod/FFI::Platypus::Type::Enum
  repository: git://github.com/PerlFFI/FFI-Platypus-Type-Enum.git
version: '0.06'
x_contributors:
  - 'Graham Ollis <plicease@cpan.org>'
  - 'José Joaquín Atria (JJATRIA)'

Makefile.PL  view on Meta::CPAN

    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME"         => "FFI-Platypus-Type-Enum",
  "LICENSE"          => "perl",
  "MIN_PERL_VERSION" => "5.008001",
  "NAME"             => "FFI::Platypus::Type::Enum",
  "PM"               => {
    "lib/FFI/Platypus/Type/Enum.pm" => "\$(INST_LIB)/FFI/Platypus/Type/Enum.pm"
  },
  "PREREQ_PM" => {
    "Ref::Util" => 0,
    "constant"  => "1.32"
  },
  "TEST_REQUIRES" => {
    "FFI::Platypus" => "1.00",
    "Test2::V0"     => "0.000121"
  },
  "VERSION" => "0.06",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "FFI::Platypus" => "1.00",
  "Ref::Util"     => 0,
  "Test2::V0"     => "0.000121",
  "constant"      => "1.32"
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

lib/FFI/Platypus/Type/Enum.pm  view on Meta::CPAN

package FFI::Platypus::Type::Enum;

use strict;
use warnings;
use constant 1.32 ();
use 5.008001;
use Ref::Util qw( is_plain_arrayref is_plain_hashref is_ref );
use Scalar::Util qw( dualvar );
use Carp qw( croak );

# ABSTRACT: Custom platypus type for dealing with C enumerated types
our $VERSION = '0.06'; # VERSION


our @CARP_NOT = qw( FFI::Platypus );

sub ffi_custom_type_api_1

t/00_diag.t  view on Meta::CPAN


# This .t file is generated.
# make changes instead to dist.ini

my %modules;
my $post_diag;

$modules{$_} = $_ for qw(
  ExtUtils::MakeMaker
  FFI::Platypus
  Ref::Util
  Test2::V0
  constant
);



my @modules = sort keys %modules;

sub spacer ()
{



( run in 1.784 second using v1.01-cache-2.11-cpan-6aa56a78535 )