diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-03-11 09:57:32 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-03-11 09:57:32 +0100 |
commit | 83ca74b2f57d322561ca54c5c4c1952e95e0d2fb (patch) | |
tree | e92f38ac0439a83388add8a73cec466f80c8ed4d /openpgp-ffi | |
parent | 7732d7ec9b43b1ee0afa73777edf8bf44a4c227a (diff) |
openpgp-ffi: Avoid C++ keywords in identifiers
- public and this are C++ keywords, avoid them.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp.h | 10 | ||||
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp/crypto.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h index 79e70602..bb9dd430 100644 --- a/openpgp-ffi/include/sequoia/openpgp.h +++ b/openpgp-ffi/include/sequoia/openpgp.h @@ -299,13 +299,13 @@ void pgp_signature_free (pgp_signature_t signature); /*/ /// Clones the Signature. /*/ -pgp_signature_t pgp_signature_clone (pgp_signature_t this); +pgp_signature_t pgp_signature_clone (pgp_signature_t signature); /*/ /// Returns a human readable description of this object suitable for /// debugging. /*/ -char *pgp_signature_debug (const pgp_signature_t this); +char *pgp_signature_debug (const pgp_signature_t signature); /*/ /// Compares Signatures. @@ -335,7 +335,7 @@ pgp_signature_t pgp_signature_from_bytes (pgp_error_t *errp, /// Serializes this object. /*/ pgp_status_t pgp_signature_serialize (pgp_error_t *errp, - const pgp_signature_t this, + const pgp_signature_t signature, pgp_writer_t writer); /*/ @@ -858,13 +858,13 @@ void pgp_key_free (pgp_key_t key); /*/ /// Clones the Key. /*/ -pgp_key_t pgp_key_clone (pgp_key_t this); +pgp_key_t pgp_key_clone (pgp_key_t key); /*/ /// Returns a human readable description of this object suitable for /// debugging. /*/ -char *pgp_key_debug (const pgp_key_t this); +char *pgp_key_debug (const pgp_key_t key); /*/ /// Compares Keys. diff --git a/openpgp-ffi/include/sequoia/openpgp/crypto.h b/openpgp-ffi/include/sequoia/openpgp/crypto.h index 530208a0..8aeba0f7 100644 --- a/openpgp-ffi/include/sequoia/openpgp/crypto.h +++ b/openpgp-ffi/include/sequoia/openpgp/crypto.h @@ -31,7 +31,7 @@ typedef struct pgp_key_pair *pgp_key_pair_t; /*/ /// Creates a new key pair. /*/ -void pgp_key_pair_new (pgp_key_t public, pgp_mpi_t secret); +void pgp_key_pair_new (pgp_key_t pub, pgp_mpi_t secret); /*/ /// Frees a key pair. |