diff options
author | Werner Koch <[email protected]> | 2016-09-16 13:59:07 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-09-16 14:00:27 +0000 |
commit | b615316168f4d33311909d4056b236d13c69488f (patch) | |
tree | 3c8a9506c613099ba551b0ff6a0b56bfc2be26c8 /lang/python/gpgme-h-clean.py | |
parent | core: Map GPGME_STATUS_EOF to the empty string. (diff) | |
download | gpgme-b615316168f4d33311909d4056b236d13c69488f.tar.gz gpgme-b615316168f4d33311909d4056b236d13c69488f.zip |
core: Document the version a function has been deprecated.
* src/gpgme.h.in (_GPGME_DEPRECATED): Change to take versio numbers
for documentation. Change all places.
(_GPGME_DEPRECATED_OUTSIDE_GPGME): Ditto.
* lang/python/gpgme-h-clean.py: Adjust RE.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rwxr-xr-x | lang/python/gpgme-h-clean.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/gpgme-h-clean.py b/lang/python/gpgme-h-clean.py index 0ec7ab58..52f86764 100755 --- a/lang/python/gpgme-h-clean.py +++ b/lang/python/gpgme-h-clean.py @@ -27,7 +27,7 @@ if len(sys.argv) != 2: sys.exit(1) deprec_func = re.compile(r'^(.*typedef.*|.*\(.*\)|[^#]+\s+.+)' - + r'\s*_GPGME_DEPRECATED(_OUTSIDE_GPGME)?;\s*', + + r'\s*_GPGME_DEPRECATED(_OUTSIDE_GPGME)?\(.*\);\s*', re.S) line_break = re.compile(';|\\$|\\x0c|^\s*#|{'); |