File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -702,13 +702,16 @@ keep the value it acquires when the module gets precompiled.
702
702
703
703
= head2 ABI/API version
704
704
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.)
712
715
713
716
use NativeCall;
714
717
sub foo1 is native('foo', v1) {*} # Will try to load libfoo.so.1
You can’t perform that action at this time.
0 commit comments