NAME
Clownfish::Type::Integer - A primitive Type representing an integer.
DESCRIPTION
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:
bool_t
METHODS
new
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 AND LICENSE
Copyright 2008-2011 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.