Sha256: 5dc74fe57421df9da03f0575529ca3a07c86ffa764bda9d946a126ae317d248c

Contents?: true

Size: 186 Bytes

Versions: 3

Compression:

Stored size: 186 Bytes

Contents

# encoding: binary
module RbNaCl
  # Defines the libsodium init function
  module Init
    extend FFI::Library
    ffi_lib 'sodium'

    attach_function :sodium_init, [], :int
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbnacl-3.0.0 lib/rbnacl/init.rb
rbnacl-2.0.0 lib/rbnacl/init.rb
rbnacl-2.0.0.pre lib/rbnacl/init.rb