FFI::P...ang::C(3pm)
β¨ FFI::Platypus::Lang::C β¨
okay so real quick β this is a page from the User Contributed Perl Documentation section of the manual, and the whole thing is filed under FFI::P...ang::C(3pm). cute, right? let's get into it π
π NAME π
FFI::Platypus::Lang::C β bestie, this is the documentation and the tools for using Platypus with the C programming language. yes, that C. the OG one. π
π¦ VERSION π¦
version 2.11 β that's the one we're on, no cap.
πΈ SYNOPSIS πΈ
like, here's the whole vibe in code:
use FFI::Platypus 2.00;
my $ffi = FFI::Platypus->new( api => 2 );
$ffi->lang('C'); # the default
look at that. 'C' is literally the default, so you're kind of already slaying without even trying. π«Ά
π DESCRIPTION π
so this module gives Platypus some hooks for interacting with the C programming language. think of it as the translator bestie that stands between your Perl and your C π. it's generally used by default β like, if you don't specify another foreign programming language with the FFI::Platypus#lang attribute, this is the one that shows up. main character energy, honestly π.
π₯ METHODS π₯
β native_type_map
my $hashref = FFI::Platypus::Lang::C->native_type_map;
this one returns a hash reference containing the native aliases for the C programming languages. which means, in group-chat terms: the keys are native C types, and the values are libffi native types. it's giving mapping. it's giving translation layer. we love a lookup table πβ¨
π SEE ALSO π
FFI::Platypusβ the Core Platypus documentation. like, go here first if you're confused, iykyk.FFI::Platypus::Langβ includes a list of other language plugins for Platypus. whole friend group of language plugins, honestly π¦.
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org> π
Contributors β the whole squad, and we are obsessed with every single one of them:
- 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)
every single name stays, periodt. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go off, remix it, share it β it's free fr fr π«Άβ¨
and that's the whole page, babe π this was generated for perl v5.42.3, dated 2026-08-20, and it's the FFI::P...ang::C(3pm) page through and through. mwah ππ
π¦ where this page comes from
- ubuntu stonking: libffi-platypus-perl 2.11-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms