lib/botan/ffi/libbotan.rb in botan-0.1.0 vs lib/botan/ffi/libbotan.rb in botan-0.1.2
- old
+ new
@@ -35,9 +35,13 @@
if botan_ffi_supports_api(2017_03_27) != 0
raise 'The Botan library does not support the FFI API expected by this' \
' version of the Ruby module'
end
+ LIB_VERSION = [botan_version_major, \
+ botan_version_minor, \
+ botan_version_patch].freeze
+
# Utility Functions
attach_function :botan_same_mem,
%i[pointer pointer size_t],
:int
attach_function :botan_hex_encode,