Sha256: 2d3aac17abfc5b4cda7453da6cb6d98c2d7e24127aa50b9f9155a0d58bfb890b

Contents?: true

Size: 883 Bytes

Versions: 40

Compression:

Stored size: 883 Bytes

Contents

# This file is part of Libusb for Ruby.
#
# Libusb for Ruby is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Libusb for Ruby is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Libusb for Ruby.  If not, see <http://www.gnu.org/licenses/>.

require 'rubygems'
require "ffi"

module LIBUSB
  module Stdio
    extend FFI::Library
    ffi_lib FFI::Platform::LIBC
    attach_function :free, [ :pointer ], :void
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
libusb-0.7.2 lib/libusb/stdio.rb
libusb-0.7.2-x64-mingw-ucrt lib/libusb/stdio.rb
libusb-0.7.2-x64-mingw32 lib/libusb/stdio.rb
libusb-0.7.2-x86-mingw32 lib/libusb/stdio.rb
libusb-0.7.1 lib/libusb/stdio.rb
libusb-0.7.1-x64-mingw-ucrt lib/libusb/stdio.rb
libusb-0.7.1-x64-mingw32 lib/libusb/stdio.rb
libusb-0.7.1-x86-mingw32 lib/libusb/stdio.rb
libusb-0.7.0-x86-mingw32 lib/libusb/stdio.rb
libusb-0.7.0-x64-mingw32 lib/libusb/stdio.rb
libusb-0.7.0-x64-mingw-ucrt lib/libusb/stdio.rb
libusb-0.7.0 lib/libusb/stdio.rb
libusb-0.6.4 lib/libusb/stdio.rb
libusb-0.6.4-x86_64-linux lib/libusb/stdio.rb
libusb-0.6.4-x86-linux lib/libusb/stdio.rb
libusb-0.6.4-x64-mingw32 lib/libusb/stdio.rb
libusb-0.6.4-x86-mingw32 lib/libusb/stdio.rb
libusb-0.6.3 lib/libusb/stdio.rb
libusb-0.6.3-x86_64-linux lib/libusb/stdio.rb
libusb-0.6.3-x86-linux lib/libusb/stdio.rb