diff options
author | Justus Winter <[email protected]> | 2017-01-30 14:39:57 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-01-30 15:24:01 +0000 |
commit | 489edf84c9a9c2122cef1b4e678154521525b54a (patch) | |
tree | 395c16f57d478311fa6c17ebdbdc2b84fbbbfcbd /dirmngr/ks-engine-http.c | |
parent | Revert "tests: Add test demonstrating issue2929." (diff) | |
download | gnupg-489edf84c9a9c2122cef1b4e678154521525b54a.tar.gz gnupg-489edf84c9a9c2122cef1b4e678154521525b54a.zip |
gpgscm: Introduce macro for the vector length.
* tests/gpgscm/scheme.c (vector_length): New macro.
(get_vector_object): Use the new macro.
(oblist_add_by_name): Likewise.
(oblist_find_by_name): Likewise.
(oblist_all_symbols): Likewise.
(mk_vector): Likewise.
(mark): Likewise.
(new_slot_spec_in_env): Likewise.
(find_slot_spec_in_env): Likewise.
(opexe_2): Likewise.
(opexe_5): Likewise.
--
Introducing an abstraction reduces the coupling between code using
vectors and the implementation of vectors.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-http.c')
0 files changed, 0 insertions, 0 deletions