Debian Codegraph @

lib/FFI/Platypus/Lang/ASM.pm

raw
1 package FFI::Platypus::Lang::ASM;
2
3 use strict;
4 use warnings;
5 use 5.008004;
6
7 # ABSTRACT: Documentation and tools for using Platypus with the Assembly
8 our $VERSION = '2.12'; # VERSION
9
10
11 sub native_type_map
12 {
13 {}
14 }
15
16 1;
17
18 __END__
19
20 =pod
21
22 =encoding UTF-8
23
24 =head1 NAME
25
26 FFI::Platypus::Lang::ASM - Documentation and tools for using Platypus with the Assembly
27
28 =head1 VERSION
29
30 version 2.12
31
32 =head1 SYNOPSIS
33
34 use FFI::Platypus 2.00;
35 my $ffi = FFI::Platypus->new( api => 2 );
36 $ffi->lang('ASM');
37
38 =head1 DESCRIPTION
39
40 Setting your lang to C<ASM> includes no native type aliases, so types
41 like C<int> or C<unsigned long> will not work. You need to specify
42 instead C<sint32> or C<sint64>. Although intended for use with Assembly
43 it could also be used for other languages if you did not want to use
44 the normal C aliases for native types.
45
46 This document will one day include information on bundling Assembly
47 with your Perl / FFI / Platypus distribution. Pull requests welcome!
48
49 =head1 METHODS
50
51 =head2 native_type_map
52
53 my $hashref = FFI::Platypus::Lang::ASM->native_type_map;
54
55 This returns an empty hash reference. For other languages it returns
56 a hash reference that defines the aliases for the types normally used
57 for that language.
58
59 =head1 SEE ALSO
60
61 =over 4
62
63 =item L<FFI::Platypus>
64
65 The Core Platypus documentation.
66
67 =item L<FFI::Platypus::Lang>
68
69 Includes a list of other language plugins for Platypus.
70
71 =back
72
73 =head1 AUTHOR
74
75 Author: Graham Ollis E<lt>[email protected]<gt>
76
77 Contributors:
78
79 Bakkiaraj Murugesan (bakkiaraj)
80
81 Dylan Cali (calid)
82
83 pipcet
84
85 Zaki Mughal (zmughal)
86
87 Fitz Elliott (felliott)
88
89 Vickenty Fesunov (vyf)
90
91 Gregor Herrmann (gregoa)
92
93 Shlomi Fish (shlomif)
94
95 Damyan Ivanov
96
97 Ilya Pavlov (Ilya33)
98
99 Petr Písař (ppisar)
100
101 Mohammad S Anwar (MANWAR)
102
103 Håkon Hægland (hakonhagland, HAKONH)
104
105 Meredith (merrilymeredith, MHOWARD)
106
107 Diab Jerius (DJERIUS)
108
109 Eric Brine (IKEGAMI)
110
111 szTheory
112
113 José Joaquín Atria (JJATRIA)
114
115 Pete Houston (openstrike, HOUSTON)
116
117 Lukas Mai (MAUKE)
118
119 =head1 COPYRIGHT AND LICENSE
120
121 This software is copyright (c) 2015-2022 by Graham Ollis.
122
123 This is free software; you can redistribute it and/or modify it under
124 the same terms as the Perl 5 programming language system itself.
125
126 =cut