Skip to content

Commit

Permalink
Deploying to gh-pages from @ 9452ba1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Jun 18, 2024
1 parent 4e2e767 commit 3c3dcc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,10 @@ <h2><a class="header" href="#bitfield-strategy-overview" id="bitfield-strategy-o
<li>For each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields</li>
<li>A static constructor <code>new_bitfield_{1, 2, ...}</code> with a parameter for each bitfield contained within the opaque physical field.</li>
</ul>
<p>To keep bindgen from generating the bitfield unit struct, it can be blocklisted like any
other type, i.e. <code>--blocklist-type &quot;__BindgenBitfieldUnit&quot;</code>. This may be useful if
you want to define a custom implementation, or your generated bindings import a
pre-existing definition for the bitfield unit type.</p>
<h2><a class="header" href="#bitfield-examples" id="bitfield-examples">Bitfield examples</a></h2>
<p>For this discussion, we will use the following C type definitions and functions.</p>
<pre><code class="language-c">typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions using-bitfields.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ <h2><a class="header" href="#bitfield-strategy-overview" id="bitfield-strategy-o
<li>For each contiguous block of bitfields, Bindgen emits an opaque physical field that contains one or more logical bitfields</li>
<li>A static constructor <code>new_bitfield_{1, 2, ...}</code> with a parameter for each bitfield contained within the opaque physical field.</li>
</ul>
<p>To keep bindgen from generating the bitfield unit struct, it can be blocklisted like any
other type, i.e. <code>--blocklist-type &quot;__BindgenBitfieldUnit&quot;</code>. This may be useful if
you want to define a custom implementation, or your generated bindings import a
pre-existing definition for the bitfield unit type.</p>
<h2><a class="header" href="#bitfield-examples" id="bitfield-examples">Bitfield examples</a></h2>
<p>For this discussion, we will use the following C type definitions and functions.</p>
<pre><code class="language-c">typedef struct {
Expand Down

0 comments on commit 3c3dcc3

Please sign in to comment.