Gtk2::CodeGen 1.122 review
Download
|
|
Gtk2::CodeGen is a code generation utilities for Glib-based bindings.
SYNOPSIS
# usually in Makefile.PL
use Gtk2::CodeGen;
# most common, use all defaults
Gtk2::CodeGen->parse_maps ('myprefix');
Gtk2::CodeGen->write_boot;
# more exotic, change everything
Gtk2::CodeGen->parse_maps ('foo',
input => 'foo.maps',
header => 'foo-autogen.h',
typemap => 'foo.typemap',
register => 'register-foo.xsh');
Gtk2::CodeGen->write_boot (filename => 'bootfoo.xsh',
glob => 'Foo*.xs',
ignore => '^(Foo|Foo::Bar)$');
This module packages some of the boilerplate code needed for performing code generation typically used by perl bindings for gobject-based libraries, using the Glib module as a base.
The default output filenames are in the subdirectory 'build', which usually will be present if you are using ExtUtils::Depends (as most Glib-based extensions probably should).
Requirements:
Perl
Gtk2::CodeGen 1.122 keywords