[vala/staging] linux: Add missing struct in cname for Spi.IocTransfer
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] linux: Add missing struct in cname for Spi.IocTransfer
- Date: Sat, 14 Nov 2020 14:03:45 +0000 (UTC)
commit 7055c36e6fe009c995ba761e63202118ddaf9361
Author: Arne Hoch <derhoch gmail com>
Date: Fri Nov 13 12:15:29 2020 +0000
linux: Add missing struct in cname for Spi.IocTransfer
There is no typedef, so "struct spi_ioc_transfer" needs to be used.
vapi/linux.vapi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 77107d178..25b5188f3 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -3849,7 +3849,7 @@ namespace Linux {
[CCode (cprefix = "", lower_case_cprefix = "")]
namespace Spi {
- [CCode (cname = "spi_ioc_transfer", has_type_id = false, cheader_filename = "linux/spi/spidev.h")]
+ [CCode (cname = "struct spi_ioc_transfer", has_type_id = false, cheader_filename =
"linux/spi/spidev.h")]
public struct IocTransfer {
public uint64 tx_buf;
public uint64 rx_buf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]