libffi-platypus-type-enum-perl 0.06-2 source package in Ubuntu
Changelog
libffi-platypus-type-enum-perl (0.06-2) unstable; urgency=medium * Team upload. * No-change source-only re-upload. -- gregor herrmann <email address hidden> Sun, 05 Feb 2023 20:53:46 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc | |
Mantic | release | universe | misc | |
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libffi-platypus-type-enum-perl_0.06-2.dsc | 2.6 KiB | 4d40d1fe41150471799117eeca45e94760bc9c97c4ee63fa307a2ec000418a1b |
libffi-platypus-type-enum-perl_0.06.orig.tar.gz | 20.1 KiB | c954a604f7d6929624fa9413d8d0e1d83b4bd977d05627cace73ed53a95c77df |
libffi-platypus-type-enum-perl_0.06-2.debian.tar.xz | 1.9 KiB | 41c7447fcf2ff1accfada07e0024c93b52fd3a36c638af433da3caafc7aab2c7 |
Available diffs
- diff from 0.06-1 to 0.06-2 (346 bytes)
No changes file available.
Binary packages built by this source
- libffi-platypus-type-enum-perl: custom platypus type for dealing with C enumerated types
FFI::Platypus:
:Type:: Enum type plugin is a helper for making enumerated types.
It makes the most sense to use this when you have an enumerated type with a
small number of possible values. For a large set of enumerated values or
constants, see: FFI::Platypus::Constant.
.
This type plugin has two modes:
.
string
.
In string mode, string representations of the enum values are converted into
the integer enum values when passed into C, and the enums are converted back
into strings when coming from C back into Perl. You can also pass in the
integer values.
.
constant
.
In constant mode, constants are defined in the specified package, and with
the optional prefix. The string representation or integer constants can be
passed into C, but the integer constants are returned from C back into Perl.
.
In both modes, if you attempt to pass in a value that isn't one of the
possible enum values, an exception will be thrown.