import_value(ty, addr)
Returns a new instance of the C struct with the value ty at the addr address.
# File ext/fiddle/lib/fiddle/import.rb, line 252 def import_value(ty, addr) s = struct([ty + " value"]) ptr = s.new(addr) return ptr end