[vala] gnutls: fix a couple cnames, and change a char* to a string
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gnutls: fix a couple cnames, and change a char* to a string
- Date: Wed, 19 May 2010 23:01:14 +0000 (UTC)
commit 9b945a0d6290280b0ce7e4535fb0f305144cc5b3
Author: Evan Nemerson <evan coeus-group com>
Date: Wed May 19 15:56:33 2010 -0700
gnutls: fix a couple cnames, and change a char* to a string
vapi/gnutls.vapi | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gnutls.vapi b/vapi/gnutls.vapi
index bd302fd..a0bcf88 100644
--- a/vapi/gnutls.vapi
+++ b/vapi/gnutls.vapi
@@ -563,7 +563,7 @@ namespace GnuTLS
[CCode (cname = "gnutls_priority_set")]
public int set_priority (Priority priority);
[CCode (cname = "gnutls_priority_set_direct")]
- public int set_priority_from_string (string priority, out char* err_pos = null);
+ public int set_priority_from_string (string priority, out unowned string err_pos = null);
[CCode (cname = "gnutls_set_default_priority")]
public int set_default_priority ();
[CCode (cname = "gnutls_set_default_export_priority")]
@@ -1888,7 +1888,9 @@ namespace GnuTLS
APPLICATION_ERROR_MAX, // -65000
APPLICATION_ERROR_MIN; // -65500
+ [CCode (cname = "gnutls_error_is_fatal")]
public bool is_fatal ();
+ [CCode (cname = "gnutls_error_to_alert")]
public AlertDescription to_alert (out AlertLevel level);
[CCode (cname = "gnutls_perror")]
public void print ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]