Commit d3ce3a57 authored by Neal H. Walfield's avatar Neal H. Walfield
Browse files

Use macros to check and interpret arguments passed from C.

  - Add macros to check that pointers are not NULL, to turn a pointer
    and length into a slice, to turn a C string into a `CStr`, and to
    interpret an OpenPGP fingerprint as a `Fingerprint`.

  - Use them.
parent 64e5d7f7