aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala/vapi
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/crypto-vala/vapi')
-rw-r--r--plugins/crypto-vala/vapi/gcrypt.vapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/crypto-vala/vapi/gcrypt.vapi b/plugins/crypto-vala/vapi/gcrypt.vapi
index ca620e0f..0fa69a02 100644
--- a/plugins/crypto-vala/vapi/gcrypt.vapi
+++ b/plugins/crypto-vala/vapi/gcrypt.vapi
@@ -608,9 +608,9 @@ namespace GCrypt {
CBC_CTS, /* Enable CBC cipher text stealing (CTS). */
CBC_MAC /* Enable CBC message auth. code (MAC). */
}
- [Compact]
[CCode (cname = "gcry_cipher_hd_t", lower_case_cprefix = "gcry_cipher_", free_function = "gcry_cipher_close")]
- public class Cipher {
+ [SimpleType]
+ public struct Cipher {
public static Error open (out Cipher cipher, Algorithm algo, Mode mode, Flag flags);
public void close ();
[CCode (cname = "gcry_cipher_ctl")]