Re: [Vala] Confusing issue with static struct method: too many arguments to function



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]