Skip to content

Commit

Permalink
Also use generic annotations
Browse files Browse the repository at this point in the history
    * ridlbe/ccmx11/facets/dds/templates/idl/dds/bitmask.erb:
    * ridlbe/ccmx11/facets/dds/templates/idl/dds/enum.erb:
  • Loading branch information
jwillemsen committed Jan 9, 2024
1 parent 3178506 commit a55b40f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ridlbe/ccmx11/facets/dds/templates/idl/dds/bitmask.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

// generated from <%= ridl_template_path %>
/// @copydoc <%= doc_scoped_name %>
@bit_bound(<%= bitbound_bits %>)
% annotations.each do |_a|
@<%= _a.id %><% unless _a.fields.empty? %>(<% _a.fields.values.each do |f| %><%= f %><% end %>)<% end %>
% end
bitmask <%= unescaped_name %> {
<%= bitvalues.collect {|e| "/// @copydoc #{e.doc_scoped_name}\n #{e.name}" }.join(",\n ") %>
};
Expand Down
4 changes: 3 additions & 1 deletion ridlbe/ccmx11/facets/dds/templates/idl/dds/enum.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

// generated from <%= ridl_template_path %>
/// @copydoc <%= doc_scoped_name %>
@bit_bound(<%= bitbound_bits %>)
% annotations.each do |_a|
@<%= _a.id %><% unless _a.fields.empty? %>(<% _a.fields.values.each do |f| %><%= f %><% end %>)<% end %>
% end
enum <%= unescaped_name %> {
<%= enumerators.collect {|e| "/// @copydoc #{e.doc_scoped_name}\n #{e.name}" }.join(",\n ") %>
};
Expand Down

0 comments on commit a55b40f

Please sign in to comment.