Sha256: ae56bde74c44d5f3043a92c4b0ffe85210d7f244c75a2bf2ebaed27094c9f258

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

require "ffi"

module Wcswidth
  module LibC
    extend FFI::Library

    ffi_lib FFI::Library::LIBC
    attach_function :wcswidth, [ :buffer_in, :size_t ], :int
  end

  private_constant :LibC
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wcswidth-1.0.1 lib/wcswidth/libc.rb
wcswidth-1.0.0 lib/wcswidth/libc.rb