Hi,
Please consider applying the attached patch. It adds support for
using foreach with enums like this (and closes #624691):
> foreach (Enum e in Enum.all_values) {
> stdout.printf ("%s\n", e.to_string ());
> }
-- Sebastian
From f12ba46d78d1b3f448f8ef502b4bce970eced20f Mon Sep 17 00:00:00 2
There's a static method:
http://unstable.valadoc.org/#!api=gio-2.0/GLib.TlsServerConnection.new
On Fri, Feb 24, 2012 at 4:22 PM, mar...@saepia.net wrote:
> Hi,
>
> I am trying to get representation of code below in Vala.
>
> Especially I mean the line
>
> test->server_connection = g_tls_server_c
On Fri, Feb 24, 2012 at 4:22 PM, mar...@saepia.net wrote:
>
> Hi,
>
> I am trying to get representation of code below in Vala.
>
> Especially I mean the line
>
> test->server_connection = g_tls_server_connection_new
> (G_IO_STREAM(connection), cert, &error);
I really don't know, but from the vap
Hi,
I am trying to get representation of code below in Vala.
Especially I mean the line
test->server_connection = g_tls_server_connection_new
(G_IO_STREAM(connection), cert, &error);
I just want to use TlsServerConnection on my SocketService to handle
TLS streams. I've checked n the vapi that
> Shouldn't compact class install a default constructor when no
> constructor was provided by user?
I don't think so, because it's only a VAPI wrapper.
But if it so bugging you, you can decelerate new methods(and I think that also
constructs) in the binding.
> Besides, what's the difference bet