Creates a class to wrap the C struct with the valuety
See also Fiddle::Importer.struct
# File ext/fiddle/lib/fiddle/import.rb, line 240
def create_value(ty, val=nil)
s = struct([ty + " value"])
ptr = s.malloc()
if( val )
ptr.value = val
end
return ptr
end