[vala] posix: mark inet_ntop as nullable
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: mark inet_ntop as nullable
- Date: Wed, 24 Oct 2012 03:15:50 +0000 (UTC)
commit 4dffb40a5cdea8e6692b4557cb2b07c32b0bab3f
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]