From: Dmitry Vagin Date: Wed, 24 Oct 2012 03:15:08 +0000 (-0700) Subject: posix: mark inet_ntop as nullable X-Git-Tag: 0.18.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcf77eb9035d2eb288b9f850cfa3c9bc222a662e;p=thirdparty%2Fvala.git posix: mark inet_ntop as nullable Fixes bug 678988. --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index dc3cade69..e6a284219 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -353,7 +353,7 @@ namespace Posix { [CCode (cheader_filename = "arpa/inet.h")] public unowned string inet_ntoa (InAddr addr); [CCode (cheader_filename = "arpa/inet.h")] - public unowned string inet_ntop (int af, void* src, uint8[] dst); + public unowned string? inet_ntop (int af, void* src, uint8[] dst); [CCode (cheader_filename = "arpa/inet.h")] public int inet_pton (int af, string src, void* dst); [CCode (cheader_filename = "arpa/inet.h")]