diff options
author | Jack Lloyd <[email protected]> | 2018-08-11 15:31:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-08-11 16:33:47 -0400 |
commit | 5cde8edd3ff9f79a9f568a803a5d5189e6993813 (patch) | |
tree | 2f60920f12b095affbb451033847a0abc513b661 /src/lib/ffi/ffi.h | |
parent | 772830b496b47be647d7b3297caf67557c7867c8 (diff) |
Better error checking in Python wrapper
Adopt APIs added in 2.8
Expose botan_error_description which was added in 2.5 but not exported!
Diffstat (limited to 'src/lib/ffi/ffi.h')
-rw-r--r-- | src/lib/ffi/ffi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index 30bbae018..fe847e94a 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -88,7 +88,7 @@ enum BOTAN_FFI_ERROR { * Convert an error code into a string. Returns "Unknown error" * if the error code is not a known one. */ -const char* botan_error_description(int err); +BOTAN_PUBLIC_API(2,8) const char* botan_error_description(int err); /** * Return the version of the currently supported FFI API. This is |