The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Boilerplater::Type::Void - The void Type.

DESCRIPTION

Boilerplater::Type::Void is used to represent a void return type. It is also used in conjuction with with Boilerplater::Type::Composite to support the void* opaque pointer type.

METHODS

new

    my $type = Boilerplater::Type::Void->new(
        specifier => 'void',    # default: void
        const     => 1,         # default: undef
    );
  • specifier - Must be "void" if supplied.

  • const - Should be true if the type is const. (Useful in the context of const void*).

COPYRIGHT AND LICENSE

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.