Clownfish::Type::Integer - A primitive Type representing an integer.
Clownfish::Type::Integer holds integer types of various widths and various styles. Support is limited to a subset of the standard C integer types:
int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t char short int long size_t
Many others are not supported: "signed" or "unsigned" anything, "long long", "ptrdiff_t", "off_t", etc.
The following Charmonizer typedefs are supported but deprecated:
bool_t i8_t i16_t i32_t i64_t u8_t u16_t u32_t u64_t
my $type = Clownfish::Type::Integer->new( const => 1, # default: undef specifier => 'char', # required );
const - Should be true if the type is const.
specifier - Must match one of the supported types.
Copyright 2008-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KSx::Simple
CPAN shell
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.