[vala] sdl-net: fix incorrect IPAddress.from_host binding.



commit 2002add9c4bc0c5b6fab9a0049fdf88d70d19694
Author: Levi Bard <taktaktaktaktaktaktaktaktaktak gmail com>
Date:   Tue Nov 10 11:36:04 2009 -0800

    sdl-net: fix incorrect IPAddress.from_host binding.
    
    Fixes bug 601296.

 vapi/sdl-net.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/sdl-net.vapi b/vapi/sdl-net.vapi
index 0b957ba..0ec440d 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. 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]