lib/rubyserial/linux_constants.rb in rubyserial-0.2.4 vs lib/rubyserial/linux_constants.rb in rubyserial-0.3.0
- old
+ new
@@ -1,6 +1,6 @@
-require 'ffi'
+# Copyright (c) 2014-2016 The Hybrid Group
module RubySerial
module Posix
extend FFI::Library
ffi_lib FFI::Library::LIBC
@@ -209,6 +209,6 @@
attach_function :open, [:pointer, :int], :int
attach_function :close, [:int], :int
attach_function :write, [:int, :pointer, :int],:int
attach_function :read, [:int, :pointer, :int],:int
end
-end
\ No newline at end of file
+end