Method: CSquare::Generator::Type#ctype_keys

Defined in:
lib/csquare/generator/type.rb

#ctype_keysObject

Same as type_keys but returns just the ctype field



53
54
55
56
57
58
59
60
# File 'lib/csquare/generator/type.rb', line 53

def ctype_keys
  h = {}
  type_keys.each_pair do |typename, type|
    h[typename] = type.ctype
    h["LONG_#{typename}"] = type.long.ctype unless type.long.nil?
  end
  h
end