From: Jürg Billeter Date: Fri, 17 Jun 2011 15:06:08 +0000 (+0200) Subject: gnet-2.0: Fix syntax errors X-Git-Tag: 0.13.0~3 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bcf081d24082054e93c76c56d283729d913b8df6;p=thirdparty%2Fvala.git gnet-2.0: Fix syntax errors --- diff --git a/vapi/gnet-2.0.vapi b/vapi/gnet-2.0.vapi index 6d6c68c4a..d5814f5b5 100644 --- a/vapi/gnet-2.0.vapi +++ b/vapi/gnet-2.0.vapi @@ -114,7 +114,7 @@ namespace GNet { public bool is_ipv6(); } - public static class IOChannel { + public class IOChannel { [CCode(name = "gnet_io_channel_writen")] public static GLib.IOError writen(GLib.IOChannel chan, string buf, size_t len, out size_t bytes_written); @@ -257,7 +257,7 @@ namespace GNet { } #if GNET_EXPERIMENTAL - public static class Socks { + public class Socks { [CCode(cname = "GNET_SOCKS_PORT")] public static const int SOCKS_PORT; @@ -281,7 +281,7 @@ namespace GNet { } #endif - public static class Pack { + public class Pack { [CCode(cname = "gnet_pack")] [PrintfFormat] public static int pack(string format, string buf, int len, ...); @@ -642,7 +642,7 @@ namespace GNet { IPV6_ONLY } - public static class IPv6 { + public class IPv6 { [CCode(cname = "gnet_ipv6_get_policy")] public static IPv6Policy get_policy(); @@ -650,7 +650,7 @@ namespace GNet { public static void set_policy(IPv6Policy policy); } - public static class Base64 { + public class Base64 { [CCode(cname = "gnet_base64_encode")] public static string encode(char[] src, out int dstlen, bool strict); [CCode(cname = "gnet_base64_decode")]