diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-10 12:04:13 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-10 12:04:13 +0200 |
commit | f5c2c667b7b356fff564d1957e9ad61108f9ec58 (patch) | |
tree | 7db036decbfefd2f491091969b6063a1c6091e13 | |
parent | 978e0acd26303c3477cfe089d39c7d6d86d6828c (diff) | |
download | k8055-f5c2c667b7b356fff564d1957e9ad61108f9ec58.zip k8055-f5c2c667b7b356fff564d1957e9ad61108f9ec58.tar.gz |
ruby1.8 compat
-rw-r--r-- | ruby/ffi-k8055/lib/k8055.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ffi-k8055/lib/k8055.rb b/ruby/ffi-k8055/lib/k8055.rb index c64a49f..aed2367 100644 --- a/ruby/ffi-k8055/lib/k8055.rb +++ b/ruby/ffi-k8055/lib/k8055.rb @@ -66,7 +66,7 @@ module K8055 [ :k8055_write_all_outputs, [:k8055_dev,:int,:int,:int], :int], [ :k8055_read_all_inputs, [:k8055_dev,:pointer,:pointer,:pointer,:pointer,:pointer], :int], [ :k8055_reset_counter, [:k8055_dev,:int], :int], - [ :k8055_read_counter, [:k8055_dev,:int], :int], + [ :k8055_read_counter, [:k8055_dev,:int], :int] ].each do |func| begin attach_function(*func) |