[issue215] gpgme: should have different types for the validity and ownertrust enums

Marc Mutz <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Message-ID <[email protected]>
New submission from Marc Mutz <[email protected]>:

Another topic that I think is strange is that ownertrust and validity share a 
common enum gpgme_validity_t. It should have a gpgme_(owner)trust_t for the 
ownertrust values instead, as these are two different things, and the compiler 
should be able to detect when you try to use one for the other (C doesn't do 
this, but C++ will).

----------
assignedto: marcus
messages: 1061
nosy: marc, marcus
priority: wish
status: unread
title: gpgme: should have different types for the validity and ownertrust enums
topic: GPGME
______________________________________________________
Aegypten issue tracker <[email protected]>
<https://intevation.de/roundup/aegypten/issue215>
______________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.