19 Aug 2009 01:10:20 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (34 / 6 / 10)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (642.75KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
Boilerplater::Type::Integer - A primitive Type representing an integer.
Boilerplater::Type::Integer holds integer types of various widths and various styles. A few standard C integer types are supported:
char short int long size_t
Many others are not: the types from "inttypes.h", "signed" or "unsigned" anything, "long long", "ptrdiff_t", "off_t", etc.
Instead, the following Charmonizer typedefs are supported:
bool_t i8_t i16_t i32_t i64_t u8_t u16_t u32_t u64_t
my $type = Boilerplater::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-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.