summaryrefslogtreecommitdiffstats
path: root/ruby
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-10 12:04:13 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-10 12:04:13 +0200
commitf5c2c667b7b356fff564d1957e9ad61108f9ec58 (patch)
tree7db036decbfefd2f491091969b6063a1c6091e13 /ruby
parent978e0acd26303c3477cfe089d39c7d6d86d6828c (diff)
downloadk8055-f5c2c667b7b356fff564d1957e9ad61108f9ec58.zip
k8055-f5c2c667b7b356fff564d1957e9ad61108f9ec58.tar.gz
ruby1.8 compat
Diffstat (limited to 'ruby')
-rw-r--r--ruby/ffi-k8055/lib/k8055.rb2
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)