Method: Emfrp::TypeDef#ref_name
- Defined in:
- lib/emfrp/compile/c/syntax_codegen.rb
#ref_name(ct) ⇒ Object
203 204 205 206 207 208 209 |
# File 'lib/emfrp/compile/c/syntax_codegen.rb', line 203 def ref_name(ct) if enum?(ct) "int" else "struct " + struct_name(ct) + (self[:static] ? "" : "*") end end |