1FFI::Platypus::Lang::ASUMs(e3r)Contributed Perl DocumentFaFtIi:o:nPlatypus::Lang::ASM(3)
2
3
4
6 FFI::Platypus::Lang::ASM - Documentation and tools for using Platypus
7 with the Assembly
8
10 version 1.10
11
13 use FFI::Platypus;
14 my $ffi = FFI::Platypus->new( api => 1 );
15 $ffi->lang('ASM');
16
18 Setting your lang to "ASM" includes no native type aliases, so types
19 like "int" or "unsigned long" will not work. You need to specify
20 instead "sint32" or "sint64". Although intended for use with Assembly
21 it could also be used for other languages if you did not want to use
22 the normal C aliases for native types.
23
24 This document will one day include information on bundling Assembly
25 with your Perl / FFI / Platypus distribution. Pull requests welcome!
26
28 native_type_map
29 my $hashref = FFI::Platypus::Lang::ASM->native_type_map;
30
31 This returns an empty hash reference. For other languages it returns a
32 hash reference that defines the aliases for the types normally used for
33 that language.
34
36 FFI::Platypus
37 The Core Platypus documentation.
38
40 Author: Graham Ollis <plicease@cpan.org>
41
42 Contributors:
43
44 Bakkiaraj Murugesan (bakkiaraj)
45
46 Dylan Cali (calid)
47
48 pipcet
49
50 Zaki Mughal (zmughal)
51
52 Fitz Elliott (felliott)
53
54 Vickenty Fesunov (vyf)
55
56 Gregor Herrmann (gregoa)
57
58 Shlomi Fish (shlomif)
59
60 Damyan Ivanov
61
62 Ilya Pavlov (Ilya33)
63
64 Petr Pisar (ppisar)
65
66 Mohammad S Anwar (MANWAR)
67
68 Håkon Hægland (hakonhagland, HAKONH)
69
70 Meredith (merrilymeredith, MHOWARD)
71
72 Diab Jerius (DJERIUS)
73
75 This software is copyright (c) 2015,2016,2017,2018,2019 by Graham
76 Ollis.
77
78 This is free software; you can redistribute it and/or modify it under
79 the same terms as the Perl 5 programming language system itself.
80
81
82
83perl v5.30.1 2020-02-06 FFI::Platypus::Lang::ASM(3)