Skip to content

Commit

Permalink
deploy: e5ad53c
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Nov 7, 2024
1 parent cededb4 commit abb5d28
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
20 changes: 14 additions & 6 deletions docs/src/libgir/codegen/function_body_chunk.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,10 @@
<a href="#1386" id="1386">1386</a>
<a href="#1387" id="1387">1387</a>
<a href="#1388" id="1388">1388</a>
<a href="#1389" id="1389">1389</a>
<a href="#1390" id="1390">1390</a>
<a href="#1391" id="1391">1391</a>
<a href="#1392" id="1392">1392</a>
</pre></div><pre class="rust"><code><span class="kw">use </span>std::collections::{hash_map::Entry, BTreeMap, HashMap};

<span class="kw">use crate</span>::{
Expand Down Expand Up @@ -1673,7 +1677,7 @@
)
} <span class="kw">else if </span>calls.iter().all(|c| c.scope.is_call()) {
<span class="macro">format!</span>(
<span class="string">"&amp;({})"</span>,
<span class="string">"&amp;mut ({})"</span>,
calls
.iter()
.map(|c| <span class="macro">format!</span>(<span class="string">"{}_data"</span>, c.name))
Expand All @@ -1700,11 +1704,15 @@
is_mut: <span class="bool-val">false</span>,
value: Box::new(Chunk::Custom(<span class="macro">format!</span>(
<span class="string">"{}{}_data"</span>,
<span class="kw">if </span>calls[<span class="number">0</span>].scope.is_call() { <span class="string">"&amp;" </span>} <span class="kw">else </span>{ <span class="string">"" </span>},
<span class="kw">if </span>calls[<span class="number">0</span>].scope.is_call() {
<span class="string">"&amp;mut "
</span>} <span class="kw">else </span>{
<span class="string">""
</span>},
calls[<span class="number">0</span>].name
))),
type_: <span class="prelude-val">Some</span>(Box::new(Chunk::Custom(<span class="kw">if </span>calls[<span class="number">0</span>].scope.is_call() {
<span class="macro">format!</span>(<span class="string">"&amp;{}"</span>, calls[<span class="number">0</span>].bound_name)
<span class="macro">format!</span>(<span class="string">"&amp;mut {}"</span>, calls[<span class="number">0</span>].bound_name)
} <span class="kw">else </span>{
<span class="macro">format!</span>(<span class="string">"Box_&lt;{}&gt;"</span>, calls[<span class="number">0</span>].bound_name)
}))),
Expand Down Expand Up @@ -1778,7 +1786,7 @@
<span class="kw">if </span>full_type.is_none() {
<span class="kw">if </span>trampoline.scope.is_call() {
chunks.push(Chunk::Custom(<span class="macro">format!</span>(
<span class="string">"let {0}_data: {1} = {0};"</span>,
<span class="string">"let mut {0}_data: {1} = {0};"</span>,
trampoline.name, trampoline.bound_name
)));
} <span class="kw">else </span>{
Expand All @@ -1789,7 +1797,7 @@
}
} <span class="kw">else if </span>trampoline.scope.is_call() {
chunks.push(Chunk::Custom(<span class="macro">format!</span>(
<span class="string">"let {0}_data: &amp;{1} = &amp;{0};"</span>,
<span class="string">"let mut {0}_data: &amp;mut {1} = &amp;mut {0};"</span>,
trampoline.name, trampoline.bound_name
)));
} <span class="kw">else </span>{
Expand Down Expand Up @@ -2393,7 +2401,7 @@
Chunk::FfiCallParameter {
transformation_type: TransformationType::ToGlibDirect {
name: <span class="kw">if </span>all_call {
<span class="macro">format!</span>(<span class="string">"super_callback{pos} as *const _ as *mut _"</span>)
<span class="macro">format!</span>(<span class="string">"super_callback{pos} as *mut _ as *mut _"</span>)
} <span class="kw">else </span>{
<span class="macro">format!</span>(<span class="string">"Box_::into_raw(super_callback{pos}) as *mut _"</span>)
},
Expand Down
2 changes: 1 addition & 1 deletion docs/src/libgir/gir_version.rs.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!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="Source of the Rust file `src/gir_version.rs`."><title>gir_version.rs - source</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-492a78a4a87dcc01.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="libgir" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0 (f6e511eec 2024-10-15)" data-channel="1.82.0" data-search-js="search-a99f1315e7cc5121.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../../static.files/src-script-e66d777a5a92e9b2.js"></script><script defer src="../../src-files.js"></script><script defer src="../../static.files/main-921df33f47b8780c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-3b12f09e550e0385.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc src"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="src-sidebar-title"><h2>Files</h2></div></nav><div class="sidebar-resizer"></div><main><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="example-wrap"><div data-nosnippet><pre class="src-line-numbers"><a href="#1" id="1">1</a>
</pre></div><pre class="rust"><code><span class="kw">pub const </span>VERSION: <span class="kw-2">&amp;</span>str = <span class="string">"d6bb38f67913"</span>;
</pre></div><pre class="rust"><code><span class="kw">pub const </span>VERSION: <span class="kw-2">&amp;</span>str = <span class="string">"e5ad53c3ad05"</span>;
</code></pre></div></section></main></body></html>

0 comments on commit abb5d28

Please sign in to comment.