From: Ammar Faizi <[email protected]>
To: Jens Axboe <[email protected]>
Cc: Ammar Faizi <[email protected]>,
Pavel Begunkov <[email protected]>,
Christian Mazakas <[email protected]>,
Gilang Fachrezy <[email protected]>,
io-uring Mailing List <[email protected]>,
VNLX Kernel Department <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Subject: [RFC PATCH liburing v2 2/2] README: Explain about FFI support
Date: Mon, 16 Jan 2023 21:28:22 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
From: Ammar Faizi <[email protected]>
Languages and applications that can't use 'static inline' functions in
liburing.h should use the FFI variants.
Co-authored-by: Christian Mazakas <[email protected]>
Signed-off-by: Christian Mazakas <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---
README | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/README b/README
index 4dd59f67fcbfbc5e..9c881ae75787795c 100644
--- a/README
+++ b/README
@@ -71,6 +71,30 @@ Building liburing
See './configure --help' for more information about build config options.
+FFI support
+-----------
+
+By default, the build results in 4 lib files:
+
+ 2 shared libs:
+
+ liburing.so
+ liburing-ffi.so
+
+ 2 static libs:
+
+ liburing.a
+ liburing-ffi.a
+
+Languages and applications that can't use 'static inline' functions in
+liburing.h should use the FFI variants.
+
+liburing's main public interface lives in liburing.h as 'static inline'
+functions. Users wishing to consume liburing purely as a binary dependency
+should link against liburing-ffi. It contains definitions for every 'static
+inline' function.
+
+
License
-------
--
Ammar Faizi
next prev parent reply other threads:[~2023-01-16 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-16 14:28 [RFC PATCH liburing v2 0/2] Explain about FFI support and how to build liburing Ammar Faizi
2023-01-16 14:28 ` [RFC PATCH liburing v2 1/2] README: Explain " Ammar Faizi
2023-01-16 14:28 ` Ammar Faizi [this message]
2023-01-16 14:37 ` [RFC PATCH liburing v2 0/2] Explain about FFI support and " Ammar Faizi
2023-01-16 15:46 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox