29 Jun 2009 22:37:41 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (27 / 1 / 6)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (609.56KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
Boilerplater::Type - A primitive or object type.
my $type = Boilerplater::Type->new( specifier => 'char', # required indirection => undef, # default 0 array => '', # default undef, const => 1, # default undef incremented => 1, # default 0 );
specifier - The name of the type, not including any indirection or array subscripts. If the type begins with a capital letter, it will be assumed to be an object type.
indirection - integer indicating level of indirection. Example: the C type "float**" has a specifier of "float" and indirection 2.
array - A string describing an array postfix.
const - should be 1 if the type is const.
incremented - Indicates that the variable is having its refcount incremented by a function, meaning that the caller must take responsibility for the additional refcount.
decremented - Indicates that the variable is having its refcount decremented by a function, meaning that the caller must take responsibility for the loss of one refcount.
Copyright 2008-2009 Marvin Humphrey
See KinoSearch version 0.30.