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)
π 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 π«Ά (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
- 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