Skip to content

Commit da6c9b4

Browse files
Deploying to gh-pages from @ d89ebe4 🚀
1 parent 3c3dcc3 commit da6c9b4

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

faq.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ <h1><a class="header" href="#frequently-asked-questions" id="frequently-asked-qu
176176
<li><a href="#does-bindgen-support-the-c-standard-template-library-stl">Does <code>bindgen</code> support the C++ Standard Template Library (STL)?</a></li>
177177
<li><a href="#how-to-deal-with-bindgen-generated-padding-fields">How to deal with bindgen generated padding fields?</a></li>
178178
<li><a href="#how-to-generate-bindings-for-a-custom-target">How to generate bindings for a custom target?</a></li>
179+
<li><a href="#why-isnt-bindgen-generating-documentation-for-system-headers">Why isn't <code>bindgen</code> generating documentation for system headers?</a></li>
179180
</ul>
180181
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
181182
<h3><a class="header" href="#why-isnt-bindgen-generating-methods-for-this-allowlisted-class" id="why-isnt-bindgen-generating-methods-for-this-allowlisted-class">Why isn't <code>bindgen</code> generating methods for this allowlisted class?</a></h3>
@@ -257,6 +258,10 @@ <h3><a class="header" href="#how-to-generate-bindings-for-a-custom-target" id="h
257258
</code></pre>
258259
<p>If you are using <code>bindgen</code> as a library, you should call
259260
<code>builder.clang_arg(&quot;--target=armv7a-none-eabi&quot;)</code> on your <code>builder</code>.</p>
261+
<h3><a class="header" href="#why-isnt-bindgen-generating-documentation-for-system-headers" id="why-isnt-bindgen-generating-documentation-for-system-headers">Why isn't <code>bindgen</code> generating documentation for system headers?</a></h3>
262+
<p>By default, Bindgen does not generate documentation for system headers because
263+
<code>libclang</code> does not provide this information. To address this, you should call
264+
<code>builder.clang_arg(&quot;-fretain-comments-from-system-headers&quot;)</code> on your <code>builder</code>.</p>
260265

261266
</main>
262267

print.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,7 @@ <h1><a class="header" href="#frequently-asked-questions" id="frequently-asked-qu
16111611
<li><a href="faq.html#does-bindgen-support-the-c-standard-template-library-stl">Does <code>bindgen</code> support the C++ Standard Template Library (STL)?</a></li>
16121612
<li><a href="faq.html#how-to-deal-with-bindgen-generated-padding-fields">How to deal with bindgen generated padding fields?</a></li>
16131613
<li><a href="faq.html#how-to-generate-bindings-for-a-custom-target">How to generate bindings for a custom target?</a></li>
1614+
<li><a href="faq.html#why-isnt-bindgen-generating-documentation-for-system-headers">Why isn't <code>bindgen</code> generating documentation for system headers?</a></li>
16141615
</ul>
16151616
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
16161617
<h3><a class="header" href="#why-isnt-bindgen-generating-methods-for-this-allowlisted-class" id="why-isnt-bindgen-generating-methods-for-this-allowlisted-class">Why isn't <code>bindgen</code> generating methods for this allowlisted class?</a></h3>
@@ -1692,6 +1693,10 @@ <h3><a class="header" href="#how-to-generate-bindings-for-a-custom-target" id="h
16921693
</code></pre>
16931694
<p>If you are using <code>bindgen</code> as a library, you should call
16941695
<code>builder.clang_arg(&quot;--target=armv7a-none-eabi&quot;)</code> on your <code>builder</code>.</p>
1696+
<h3><a class="header" href="#why-isnt-bindgen-generating-documentation-for-system-headers" id="why-isnt-bindgen-generating-documentation-for-system-headers">Why isn't <code>bindgen</code> generating documentation for system headers?</a></h3>
1697+
<p>By default, Bindgen does not generate documentation for system headers because
1698+
<code>libclang</code> does not provide this information. To address this, you should call
1699+
<code>builder.clang_arg(&quot;-fretain-comments-from-system-headers&quot;)</code> on your <code>builder</code>.</p>
16951700

16961701
</main>
16971702

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)