Re: [Vala] Confusing issue with static struct method: too many arguments to function
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Michael Murphy <michael system76 com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Confusing issue with static struct method: too many arguments to function
- Date: Thu, 25 Jan 2018 14:40:13 +0000
Hello,
On Mon, 22 Jan 2018, 23:00 Michael Murphy, <michael system76 com> wrote:
I have the following which is automatically generated by bindgen.
```c
DistinstSector distinst_sector_megabyte(uint64_t value);
```
If the struct is returned (and passed as a parameter) like this in C, it
should be a simple type in vala. The annotation is [SimpleType]
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]