Sha256: 3cb8c5e3952f31dbf14084f468b4f83cad4b48f2257888098b00ac11887e7e8d

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

# encoding: utf-8

require 'ffi'

module Preslovi
  extend FFI::Library

  PLATFORM = "#{Gem::Platform.local.cpu}-#{Gem::Platform.local.os}"

  ffi_lib "#{__dir__}/../../ext/lib/preslovi.#{PLATFORM}.so"

  attach_function :latinicom, [:string], :string
  attach_function :latinicom_ascii, [:string], :string

  extend self
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
srbovanje-3.0.1 lib/srbovanje/preslovi.rb
srbovanje-3.0.0 lib/srbovanje/preslovi.rb