Skip to content

Commit

Permalink
deploy: 9a011b7
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla committed Jul 26, 2023
1 parent df71956 commit 2d5cc10
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rustdoc/safer_ffi/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="safer-ffi-banner"><meta name="keywords" content="rust, rustlang, rust-lang, safer_ffi"><title>safer_ffi - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../safer_ffi/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../safer_ffi/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate safer_ffi</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.1.2</li><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#attributes">Attribute Macros</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">safer_ffi</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/safer_ffi/_lib.rs.html#1-663">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><span style="text-align: center;">
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="safer-ffi-banner"><meta name="keywords" content="rust, rustlang, rust-lang, safer_ffi"><title>safer_ffi - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../safer_ffi/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../safer_ffi/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate safer_ffi</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.1.2</li><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#attributes">Attribute Macros</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">safer_ffi</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/safer_ffi/_lib.rs.html#1-669">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><span style="text-align: center;">
<p><img src="https://github.com/getditto/safer_ffi/blob/banner/guide/assets/safer_ffi.jpg?raw=true" alt="safer-ffi-banner" /></p>
<p><a href="https://github.com/getditto/safer_ffi/actions"><img src="https://github.com/getditto/safer_ffi/workflows/CI/badge.svg?branch=master" alt="CI" /></a>
<a href="https://getditto.github.io/safer_ffi"><img src="https://img.shields.io/badge/guide-mdbook-blue" alt="guide" /></a>
Expand Down
12 changes: 12 additions & 0 deletions rustdoc/src/safer_ffi/_lib.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,12 @@
<span id="661">661</span>
<span id="662">662</span>
<span id="663">663</span>
<span id="664">664</span>
<span id="665">665</span>
<span id="666">666</span>
<span id="667">667</span>
<span id="668">668</span>
<span id="669">669</span>
</pre><pre class="rust"><code><span class="attribute">#![warn(warnings)] </span><span class="comment">// Prevent `-Dwarnings` from causing breakage.
</span><span class="attribute">#![allow(clippy::all)]
#![cfg_attr(rustfmt, rustfmt::skip)]
Expand Down Expand Up @@ -1323,6 +1329,12 @@
}
}
}

<span class="attribute">#[doc(hidden)] </span><span class="doccomment">/** Not part of the public API! */
</span><span class="attribute">#[macro_export]
</span><span class="macro">macro_rules! </span>ඞassert_expr {( <span class="macro-nonterminal">$e</span>:expr $(,)<span class="question-mark">? </span>) =&gt; ( <span class="macro-nonterminal">$e </span>)}
<span class="attribute">#[doc(inline)]
</span><span class="kw">pub use </span>ඞassert_expr <span class="kw">as </span>assert_expr;
}
</code></pre></div>
</section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="safer_ffi" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.1 (90743e729 2023-01-10)" ></div></body></html>
18 changes: 14 additions & 4 deletions rustdoc/src/safer_ffi_proc_macros/utils/macros.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,18 +446,28 @@
<span id="446">446</span>
<span id="447">447</span>
<span id="448">448</span>
<span id="449">449</span>
<span id="450">450</span>
<span id="451">451</span>
<span id="452">452</span>
<span id="453">453</span>
</pre><pre class="rust"><code><span class="attribute">#![cfg_attr(rustfmt, rustfmt::skip)]

</span><span class="macro">macro_rules! </span>spanned {( <span class="macro-nonterminal">$span</span>:expr $(,)<span class="question-mark">? </span>) =&gt; (
::proc_macro2::Ident::new(<span class="string">&quot;__&quot;</span>, <span class="macro-nonterminal">$span</span>)
)} <span class="kw">pub</span>(<span class="kw">in crate</span>) <span class="kw">use </span>spanned;
</span><span class="kw">pub</span>(<span class="kw">in crate</span>)
<span class="kw">fn </span>reified_span(span: <span class="kw">impl </span>Into&lt;<span class="prelude-ty">Option</span>&lt;::proc_macro2::Span&gt;&gt;)
-&gt; <span class="kw">impl </span>::quote::ToTokens
{
::proc_macro2::Ident::new(<span class="string">&quot;__&quot;</span>, span.into().unwrap_or_else(
::proc_macro2::Span::call_site
))
}

<span class="macro">macro_rules! </span>bail {
(
<span class="macro-nonterminal">$err_msg</span>:expr $(,)<span class="question-mark">?
</span>) =&gt; (
<span class="macro-nonterminal">$</span><span class="macro">crate::utils::bail! </span>{
<span class="macro-nonterminal">$err_msg </span>=&gt; <span class="macro-nonterminal">$</span><span class="macro">crate::utils::spanned!</span>(<span class="macro-nonterminal">::proc_macro2::Span::call_site</span>())
<span class="macro-nonterminal">$err_msg </span>=&gt; <span class="macro-nonterminal">$crate::utils::reified_span</span>(::core::prelude::v1::None)
}
);

Expand Down

0 comments on commit 2d5cc10

Please sign in to comment.