logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FFI::Platypus::TypeParser::Version1 - FFI Type Parser Version One

Author

       Author: Graham Ollis <plicease@cpan.org>

       Contributors:

       Bakkiaraj Murugesan (bakkiaraj)

       Dylan Cali (calid)

       pipcet

       Zaki Mughal (zmughal)

       Fitz Elliott (felliott)

       Vickenty Fesunov (vyf)

       Gregor Herrmann (gregoa)

       Shlomi Fish (shlomif)

       Damyan Ivanov

       Ilya Pavlov (Ilya33)

       Petr Písař (ppisar)

       Mohammad S Anwar (MANWAR)

       Håkon Hægland (hakonhagland, HAKONH)

       Meredith (merrilymeredith, MHOWARD)

       Diab Jerius (DJERIUS)

       Eric Brine (IKEGAMI)

       szTheory

       José Joaquín Atria (JJATRIA)

       Pete Houston (openstrike, HOUSTON)

       Lukas Mai (MAUKE)

Description

       This documents the second (version 1) type parser for FFI::Platypus.  This type parser was included with
       FFI::Platypus starting with version 0.91 in an experimental capability, and 1.00 as a stable interface.
       Starting with version 1.00 the main FFI::Platypus documentation describes the version 1 API and you can
       refer to FFI::Platypus::TypeParser::Version0 for details on the version0 API.

Name

       FFI::Platypus::TypeParser::Version1 - FFI Type Parser Version One

See Also

       FFI::Platypus
           The core FFI::Platypus documentation.

       FFI::Platypus::TypeParser::Version0
           The API 0.02 type parser.

Synopsis

        use FFI::Platypus 1.00;
        my $ffi = FFI::Platypus->new( api => 1 );
        $ffi->type('record(Foo::Bar)' => 'foo_bar_t');
        $ffi->type('record(Foo::Bar)*' => 'foo_bar_ptr');
        $ffi->type('opaque' => 'baz_t');
        $ffi->type('bar_t*' => 'baz_ptr');

Version

       version 2.10

See Also