From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id 5811F7E79B; Sat, 14 Jan 2023 09:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1673690165; bh=5kyulY7GexKHkOTPwRkKp/KyQxLOQ9Ay4VoKnidx66E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ohRoCgDIlzLWQGXTcsdrcAJOucGl4GAnUo8WHLAT5jKr0zwH+dlDHus0xmhCtdHEk kcgNG0ih8dvvNVISD9Xgs93G8mSJqhfLxLn0PJa47x/4nEFrfCHTi/OIs6vrKiLmG/ 2mZR/WyLzJBgfSD0h+FExnuCRNIkswAommpDpCuwV7cvFjXRY9COPjX8g8RQ9Gp/rq /WU8rZsagOQASyao3Ot4IdjG1EUKniP8/lCa6y0CYvydnUO8VfCrP9Vfs/Wq7RAtJ2 fRJAn2/qcwIznnYLRauxlFGNyV6F7PNlorxQphmc3Ap4ruwINT7pbrS+j9tPj6AVEh s+I+LmSVGSxzQ== From: Ammar Faizi To: Jens Axboe Cc: Ammar Faizi , Pavel Begunkov , Christian Mazakas , Gilang Fachrezy , io-uring Mailing List , VNLX Kernel Department , GNU/Weeb Mailing List Subject: [RFC PATCH v1 liburing 2/2] README: Explain about FFI support Date: Sat, 14 Jan 2023 16:55:23 +0700 Message-Id: <20230114095523.460879-3-ammar.faizi@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230114095523.460879-1-ammar.faizi@intel.com> References: <20230114095523.460879-1-ammar.faizi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Ammar Faizi Tell people that they should use the FFI variants when they can't use 'static inline' functions defined in liburing.h. Signed-off-by: Ammar Faizi --- README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README b/README index 4dd59f6..7babb3b 100644 --- a/README +++ b/README @@ -71,6 +71,25 @@ 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 + +For languages and applications that can't use 'static inline' functions in +liburing.h should use the FFI variants. + + License ------- -- Ammar Faizi