2009-06-15 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 15 Jun 2009 17:05:47 +0000 (17:05 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 15 Jun 2009 17:05:47 +0000 (17:05 +0000)
commitcb21a19c44b46efc52f9d480783606079bf0ed96
tree9e649d63901fd6ace59f1b901d1f2d242424dcf6
parent88e973677c68f9573d7d5c0332bb0c3309c9c603
2009-06-15  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h.in (gpgme_result_ref, gpgme_result_unref): Add
prototypes.
* gpgme.def, libgpgme.vers (gpgme_result_ref, gpgme_result_unref):
Add these.
* context.h (struct ctx_op_data): Add member "references".
* gpgme.c (gpgme_result_ref, gpgme_result_unref): New functions.
(_gpgme_release_result): Use gpgme_result_unref.
* op-support.c (_gpgme_op_data_lookup): Initialize references.
trunk/src/ChangeLog
trunk/src/context.h
trunk/src/gpgme.c
trunk/src/gpgme.def
trunk/src/gpgme.h.in
trunk/src/libgpgme.vers
trunk/src/op-support.c