From 27bab498891b301650b81c74b1652cd4b6e4624a Mon Sep 17 00:00:00 2001 From: cedric57 Date: Sun, 1 Jun 2014 18:43:49 +0200 Subject: [PATCH] Update types.rb get libsensor version from c library --- lib/sensors/c/types.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sensors/c/types.rb b/lib/sensors/c/types.rb index 8c65b2a..6808f97 100644 --- a/lib/sensors/c/types.rb +++ b/lib/sensors/c/types.rb @@ -28,7 +28,7 @@ module Sensors; module C -# :string, :libsensors_version # TODO: look how to get an extern var +attach_variable :libsensors_version, :libsensors_version, :string BusType = FFI::Enum.new([ :any, -1,