Skip to content

Commit fb58896

Browse files
Grinnztonycoz
authored andcommitted
Document suggestion to use libffi for simple library bindings
1 parent 5f4d68d commit fb58896

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

dist/ExtUtils-ParseXS/lib/perlxs.pod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ Note: For some extensions, Dave Beazley's SWIG system may provide a
7979
significantly more convenient mechanism for creating the extension
8080
glue code. See L<http://www.swig.org/> for more information.
8181

82+
For simple bindings to C libraries as well as other machine code libraries,
83+
consider instead using the much simpler
84+
L<libffi|http://sourceware.org/libffi/> interface via CPAN modules like
85+
L<FFI::Platypus> or L<FFI::Raw>.
86+
8287
=head2 On The Road
8388

8489
Many of the examples which follow will concentrate on creating an interface

t/porting/known_pod_issues.dat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ fchown(2)
114114
fcntl(2)
115115
fdopen(3)
116116
fetch(1)
117+
FFI::Platypus
118+
FFI::Raw
117119
fgrep(1)
118120
File::chdir
119121
File::Copy::Recursive

0 commit comments

Comments
 (0)