Hello,
On Mon, 22 Jan 2018, 23:00 Michael Murphy, 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 ty
> On Monday, 22 January 2018, 22:00:19 GMT, Michael Murphy
wrote: > I have the following which is automatically
generated by bindgen.
Would that be vala-gen-introspect ? That's a bit of an old tool. I'm not sure
how well it fares, butmay be a good starting point for a hand written bindings
I have the following which is automatically generated by bindgen.
```c
DistinstSector distinst_sector_megabyte(uint64_t value);
```
And I have this defined in the accompanying vapi file.
```vala
[CCode (has_type_id = false)]
public struct Sector {
SectorKind flag;
uint64