[ Источник: libffi-platypus-type-enum-perl ]
Пакет: libffi-platypus-type-enum-perl (0.06-2)
Ссылки для libffi-platypus-type-enum-perl
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код libffi-platypus-type-enum-perl:
- [libffi-platypus-type-enum-perl_0.06-2.dsc]
- [libffi-platypus-type-enum-perl_0.06.orig.tar.gz]
- [libffi-platypus-type-enum-perl_0.06-2.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [metacpan.org]
Подобные пакеты:
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.
Другие пакеты, относящиеся к libffi-platypus-type-enum-perl
|
|
|
|
-
- dep: libref-util-perl
- set of utility functions for checking references
-
- dep: perl
- практический язык Ларри Уолла для извлечения данных и составления отчётов
Загрузка libffi-platypus-type-enum-perl
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 9,7 Кб | 30,0 Кб | [список файлов] |