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. πŸ’…

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