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

2018-01-22 Thread Al Thomas via vala-list
> 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

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

2018-01-22 Thread Michael Murphy
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

Re: [Vala] Books and Guides for VALA-GTK-Networking Development

2018-01-22 Thread Ulink
Hi Hans, try https://wiki.gnome.org/Projects/Vala/GIONetworkingSample or basically https://wiki.gnome.org/Projects/Vala/Documentation (below "Sample Code") and of course Valadoc https://valadoc.org/gio-2.0/GLib.SocketClient.html https://valadoc.org/gio-2.0/GLib.SocketService.html

[Vala] Books and Guides for VALA-GTK-Networking Development

2018-01-22 Thread Hans Schueren
Hallo vala-list, may i ask for more informations about actual books and tutorials for software programming in VALA in combination with GTK and networking (TCP-SMTP) etc. perhaps GIO What are the best Tutorials to learn from ? Best Regards MHE Hans Schueren --- werb...@hans-schueren.de