Method: AutoC::TreeMap#write_intf_types
- Defined in:
- lib/autoc/collection/tree_map.rb
#write_intf_types(stream) ⇒ Object
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 |
# File 'lib/autoc/collection/tree_map.rb', line 196 def write_intf_types(stream) super stream << %$ typedef struct #{@entry.type} #{@entry.type}; struct #{@entry.type} { #{key.type} key; #{value.type} value; unsigned flags; }; $ @set.write_intf_types(stream) stream << %$ typedef struct #{type} #{type}; typedef struct #{it} #{it}; struct #{type} { #{@set.type} entries; }; struct #{it} { #{@set.it} it; }; $ end |