Debian Codegraph @

debian/control

raw
1 Source: libffi-platypus-type-enum-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Mason James <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13)
8 Build-Depends-Indep: libffi-platypus-perl (>= 1.00) <!nocheck>,
9 libref-util-perl <!nocheck>,
10 libtest2-suite-perl (>= 0.000121) <!nocheck>,
11 perl
12 Standards-Version: 4.6.2
13 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libffi-platypus-type-enum-perl
14 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libffi-platypus-type-enum-perl.git
15 Homepage: https://metacpan.org/release/FFI-Platypus-Type-Enum
16 Rules-Requires-Root: no
17
18 Package: libffi-platypus-type-enum-perl
19 Architecture: all
20 Depends: ${misc:Depends},
21 ${perl:Depends},
22 libref-util-perl
23 Description: custom platypus type for dealing with C enumerated types
24 FFI::Platypus::Type::Enum type plugin is a helper for making enumerated types.
25 It makes the most sense to use this when you have an enumerated type with a
26 small number of possible values. For a large set of enumerated values or
27 constants, see: FFI::Platypus::Constant.
28 .
29 This type plugin has two modes:
30 .
31 string
32 .
33 In string mode, string representations of the enum values are converted into
34 the integer enum values when passed into C, and the enums are converted back
35 into strings when coming from C back into Perl. You can also pass in the
36 integer values.
37 .
38 constant
39 .
40 In constant mode, constants are defined in the specified package, and with
41 the optional prefix. The string representation or integer constants can be
42 passed into C, but the integer constants are returned from C back into Perl.
43 .
44 In both modes, if you attempt to pass in a value that isn't one of the
45 possible enum values, an exception will be thrown.