NAME
ExtUtils::Typemaps::TimeSpec - A typemap for dealing with struct timespec
VERSION
version 0.009
SYNOPSIS
use ExtUtils::Typemaps::Signal;
# First, read my own type maps:
my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
# Then, get the Signal set and merge it into my maps
my $map = ExtUtils::Typemaps::Signal->new;
$private_map->merge(typemap => $map);
# Now, write the combined map to an output file
$private_map->write(file => 'typemap');
DESCRIPTION
ExtUtils::Typemaps::TimeSpec is an ExtUtils::Typemaps subclass that contains a single typemap mapping struct timespec from and to a Perl variable. For input it will take either a number, or a Time::Spec object, as output it always returns a number.
AUTHOR
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.