Sha256: 27236f10ba03788ea78650c0d523b7053289a8a4fe6a100723adfef21b77ae39
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
# encoding: binary # frozen_string_literal: true module RbNaCl # Defines the libsodium init function module Init extend FFI::Library if defined?(RBNACL_LIBSODIUM_GEM_LIB_PATH) ffi_lib RBNACL_LIBSODIUM_GEM_LIB_PATH else ffi_lib "sodium" end attach_function :sodium_init, [], :int end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-5.0.0 | lib/rbnacl/init.rb |
rbnacl-4.0.2 | lib/rbnacl/init.rb |
rbnacl-4.0.1 | lib/rbnacl/init.rb |
rbnacl-4.0.0 | lib/rbnacl/init.rb |
rbnacl-4.0.0.pre | lib/rbnacl/init.rb |