From: Levi Bard Date: Tue, 10 Nov 2009 19:36:04 +0000 (-0800) Subject: sdl-net: fix incorrect IPAddress.from_host binding. X-Git-Tag: 0.7.9~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2002add9c4bc0c5b6fab9a0049fdf88d70d19694;p=thirdparty%2Fvala.git sdl-net: fix incorrect IPAddress.from_host binding. Fixes bug 601296. --- diff --git a/vapi/sdl-net.vapi b/vapi/sdl-net.vapi index 0b957ba83..0ec440d94 100644 --- a/vapi/sdl-net.vapi +++ b/vapi/sdl-net.vapi @@ -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.