[vala/0.18] posix: mark inet_ntop as nullable
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.18] posix: mark inet_ntop as nullable
- Date: Sun, 11 Nov 2012 13:08:19 +0000 (UTC)
commit bcf77eb9035d2eb288b9f850cfa3c9bc222a662e
Author: Dmitry Vagin <dmitry2004 yandex ru>
Date: Tue Oct 23 20:15:08 2012 -0700
posix: mark inet_ntop as nullable
Fixes bug 678988.
vapi/posix.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index dc3cade..e6a2842 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]