Skip to content

Commit 05a4d69

Browse files
committed
Only reflow; previous commit closes #2674
1 parent 1abe655 commit 05a4d69

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

doc/Language/nativecall.pod6

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -702,13 +702,16 @@ keep the value it acquires when the module gets precompiled.
702702
703703
=head2 ABI/API version
704704
705-
If you write C<native('foo')> NativeCall will search libfoo.so under Unix like system (libfoo.dynlib on OS X, foo.dll on win32).
706-
In most modern system it will require you or the user of your module to install
707-
the development package because it's recommended to always provide an API/ABI version to a
708-
shared library, so libfoo.so ends often being a symbolic link provided only by a development package.
709-
710-
To avoid that, the C<native> trait allows you to specify the API/ABI version. It can be a full
711-
version or just a part of it. (Try to stick to Major version, some BSD code does not care for Minor.)
705+
If you write C<native('foo')> NativeCall will search libfoo.so under Unix like
706+
system (libfoo.dynlib on OS X, foo.dll on win32). In most modern system it will
707+
require you or the user of your module to install the development package
708+
because it's recommended to always provide an API/ABI version to a shared
709+
library, so libfoo.so ends often being a symbolic link provided only by a
710+
development package.
711+
712+
To avoid that, the C<native> trait allows you to specify the API/ABI version. It
713+
can be a full version or just a part of it. (Try to stick to Major version, some
714+
BSD code does not care for Minor.)
712715
713716
use NativeCall;
714717
sub foo1 is native('foo', v1) {*} # Will try to load libfoo.so.1

0 commit comments

Comments
 (0)