FFI::P...g::ASM(3pm)

πŸ’… NAME πŸ’…

okay so bestie, welcome to FFI::Platypus::Lang::ASM(3pm) β€” the documentation-and-tools situation for using Platypus with Assembly πŸ¦‹ (this one's from the User Contributed Perl Documentation corner of the manual, no cap).


✨ VERSION ✨

version 2.11 πŸŽ€


🧚 SYNOPSIS 🧚

use FFI::Platypus 2.00;
my $ffi = FFI::Platypus->new( api => 2 );
$ffi->lang('ASM');

that's it, that's the whole vibe check πŸ’œ


🌸 DESCRIPTION 🌸

so here's the tea β˜• β€” when you set your lang to "ASM", it includes zero native type aliases. none. not a single one. so types like "int" or "unsigned long" will not work 😭 you gotta say "sint32" or "sint64" instead, periodt.

and yeah, it's intended for use with Assembly, but honestly it could also be used for other languages if you simply do not want to use the normal C aliases for native types πŸ‘‘ like, it's giving "no C aliases, only vibes."

this document will one day include info on bundling Assembly with your Perl / FFI / Platypus distribution. pull requests welcome! 🫢 (yes, fr fr, that's what it says)

⭐ METHODS ⭐

πŸ”₯ native_type_map

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

this returns an empty hash reference, bestie. that's the whole slay πŸ’…

for other languages it returns a hash reference that defines the aliases for the types normally used for that language β€” but not here. here it's just... empty. iconic, honestly.


πŸ¦‹ SEE ALSO πŸ¦‹

  • FFI::Platypus β€” the Core Platypus documentation, the main character πŸ‘‘
  • FFI::Platypus::Lang β€” includes a list of other language plugins for Platypus ✨

πŸŽ€ AUTHOR πŸŽ€

Author: Graham Ollis <plicease@cpan.org> πŸ’–

Contributors (the whole squad, iykyk 🌈):

  • 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)

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 🫢 (yes bestie, legally iconic)


and that's a wrap! 🌸 this page is perl v5.42.3, dated 2026-08-20 β€” mwah, go forth and assemble πŸ’œβœ¨

πŸ“¦ where this page comes from