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::Lang::C - Documentation and tools for using Platypus with the C programming language

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 module provides some hooks for Platypus to interact with the C programming language.  It is
       generally used by default if you do not specify another foreign programming language with the
       FFI::Platypus#lang attribute.

Methods

native_type_map
        my $hashref = FFI::Platypus::Lang::C->native_type_map;

       This returns a hash reference containing the native aliases for the C programming languages.  That is the
       keys are native C types and the values are libffi native types.

Name

       FFI::Platypus::Lang::C - Documentation and tools for using Platypus with the C programming language

See Also

       FFI::Platypus
           The Core Platypus documentation.

       FFI::Platypus::Lang
           Includes a list of other language plugins for Platypus.

Synopsis

        use FFI::Platypus 2.00;
        my $ffi = FFI::Platypus->new( api => 2 );
        $ffi->lang('C'); # the default

Version

       version 2.10

See Also