On Mon, 15 Oct 2012 06:46:40 -0500, Oleg <[email protected]> wrote:

There is code
http://pastebin.com/KyhFdx36



Looks pretty good, haven't tried it or anything yet.

One suggestion that I would make is that you have code like:
enum _gpgme_attr_t {
...
}
alias _gpgme_attr_t gpgme_attr_t;


It would probably be better to just use:
enum gpgme_attr_t { ... } from the beginning.

Also the names of the particular fields do not have to match exactly.
In a few C projects, you will find a field with the name 'version' which is a D keyword.

It seems to work just fine if you simply change it to 'ver' on similar.

Take a look at the deimos project to see a few examples in action.
(Also please attempt to get it into deimos if that is what you are thinking about.)
--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to