diff options
author | Werner Koch <wk@gnupg.org> | 2014-10-03 08:22:53 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-10-03 08:22:53 +0200 |
commit | 12b5188bd495e45775c34c8e6263e6be177c03da (patch) | |
tree | bf99c2fd1f6418d4b26453d97c79daef7d759eda /src/gpg-error.def.in | |
parent | e8b04bed1093a9f1d87c150326e79adfeb02e2b4 (diff) | |
download | libgpg-error-12b5188bd495e45775c34c8e6263e6be177c03da.tar.gz |
Change gpgrt_pending{,_unlocked} to macros.
* src/gpg-error.h.in (gpgrt_pending): Change to a macro.
(gpgrt_pending_unlocked): Change to a macro.
(_gpgrt_pending, _gpgrt_pending_unlocked): New private functions.
* src/visibility.c, src/visibility.h: Change accordingly.
* src/gpg-error.vers, src/gpg-error.def.in: Ditto.
* src/estream.c (_gpgrt_pending_unlocked): Rename to
_gpgrt__pending_unlocked.
(_gpgrt_pending): Rename to _gpgrt__pending.
--
The function are supposed to be used with gprt_getc and thus we need
to avoid the function call overhead. We may want to change them to
inline functions, though.
gpgrt_pending is changed to a macro with the idea that we eventually
can export the samestream flags and thus avoid the function call
overhead in the samethread case too.
Diffstat (limited to 'src/gpg-error.def.in')
-rw-r--r-- | src/gpg-error.def.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in index f17522e..cba973d 100644 --- a/src/gpg-error.def.in +++ b/src/gpg-error.def.in @@ -137,7 +137,7 @@ EXPORTS gpg_err_deinit @102 gpgrt_set_alloc_func @103 - gpgrt_pending @104 - gpgrt_pending_unlocked @105 + _gpgrt_pending @104 + _gpgrt_pending_unlocked @105 ;; end of file with public symbols for Windows. |