Sha256: 7725529fbe3113073955d8dab57935c05e72222c520d04b0b7d6a7f59d2b3b8a

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

<% define 'ArrayDefinition', :for => CArray do %>
  <%= getType %> <%= name %>[<%= size %>] = {<%iinc%>
    <% expand 'InitValue', :foreach => initvalue, :separator => ",\n" %><%nl%><%idec%>
  };
  <% expand '../root::TextFromRoot' %>
  <% expand '/root::TextFromRoot' %>
<% end %>

<% define 'InitValue', :for => PrimitiveInitValue do %>
  <%= value %><%nows%>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rgen-0.4.2 test/template_language_test/templates/code/array.tpl
rgen-0.4.1 test/template_language_test/templates/code/array.tpl
rgen-0.4.0 test/template_language_test/templates/code/array.tpl
rgen-0.4.3 test/template_language_test/templates/code/array.tpl
rgen-0.4.4 test/template_language_test/templates/code/array.tpl
rgen-0.4.5 test/template_language_test/templates/code/array.tpl