-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #451 from jwillemsen/jwi-ddsx11impliedidlbitset
Starter support for bitset
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
/// @copydoc <%= doc_scoped_name %> | ||
% annotations.each do |_a| | ||
<%= _a.idl_stringified %> | ||
% end | ||
%# todo bitfield annotations and type | ||
bitset <%= unescaped_name %><% unless base.nil? %> : <%= base.unescaped_name %><% end %> { | ||
<%= bitfields.collect {|e| "/// @copydoc #{e.doc_scoped_name}\n bitfield<#{e.bits}> #{e.name}" }.join(",\n ") %> | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters