Sha256: bb515f53f8ea27cba15ede4aabb51ed66b696c09edebe8866b35b5d510138b6c
Contents?: true
Size: 296 Bytes
Versions: 3
Compression:
Stored size: 296 Bytes
Contents
# encoding: binary 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-3.4.0 | lib/rbnacl/init.rb |
rbnacl-3.3.0 | lib/rbnacl/init.rb |
rbnacl-3.2.0 | lib/rbnacl/init.rb |