Matt S Trout > Rakudo-Star-2012.08_001 > tools/build/h2inc.pl

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

NAME ^

tools/build/h2inc.pl

DESCRIPTION ^

Generate .pasm and .pm files with constants based on .h files.

Invoked by make. Imports functions from Parrot::H2inc.

USAGE ^

    perl tools/build/h2inc.pl <input_file> <output_file>

Example (from make output):

    /usr/local/bin/perl tools/build/h2inc.pl include/parrot/enums.h \
        lib/Parrot/Pmc2c/PCCMETHOD_BITS.pm
syntax highlighting: