Home GnuPG
Diffusion GPGME e99356306d7b

Improve C++ compatibility of previous patch.
e99356306d7bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Improve C++ compatibility of previous patch.

* src/gpgme.h.in: Move gpgme_sssize_t and gpgme_off_t typedefs into
the extern "C" scope.

Frankly, this does not help very much because g++ still does not
interpret gpgme_data_seek_cb_t as compatible with the C++ ssize_t. I
am sorry for that API change but C and C++ are too different to always
get both of them under one umbrella. However, the ABI should now be
identical to older gpgme versions.

Details

Provenance
wernerAuthored on Apr 25 2013, 1:00 PM
Parents
rM6d0d8e7ba0bb: Make definition of off_t robust against misbehaving w32 toolchains.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMe99356306d7b: Improve C++ compatibility of previous patch. (authored by Werner Koch <wk@gnupg.org>).May 18 2013, 1:49 PM