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

NAME

Boilerplater::Binding::Core - Generate core C code for a Boilerplater::Hierarchy.

METHODS

new

    my $binding = Boilerplater::Binding::Core->new(
        hierarchy => $hierarchy,
        dest      => '/path/to/autogen',    # required
        header    => $header,               # default: ''
        footer    => $footer,               # default: ''
    );
  • hierarchy - A Boilerplater::Hierarchy.

  • dest - The directory where C output files will be written.

  • header - Text which will be prepended to each generated C file -- typically, an "autogenerated file" warning.

  • footer - Text to be appended to the end of each generated C file -- typically copyright information.

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.