]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
sdl-net: fix incorrect IPAddress.from_host binding.
authorLevi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
Tue, 10 Nov 2009 19:36:04 +0000 (11:36 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 10 Nov 2009 19:36:04 +0000 (11:36 -0800)
Fixes bug 601296.

vapi/sdl-net.vapi

index 0b957ba83c9b7abad90df2297a091bbf3ede69d2..0ec440d94e2256db68dd8e29af32463bf107033d 100644 (file)
@@ -56,7 +56,7 @@ namespace SDLNet {
                 * If 'host' is NULL, the resolved host will be set to INADDR_ANY.
                 */
                [CCode (cname="SDLNet_ResolveHost")]
-               public static int from_host(IPAddress address, string host, uint16 port);
+               public static int from_host(out IPAddress address, string? host, uint16 port);
 
                /**
                 * Resolve an ip address to a host name in canonical form.