diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-10-24 23:28:03 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-10-24 23:28:03 -0700 |
commit | 1f08b541af47398afb3f64968b2fc5e96c58b7bb (patch) | |
tree | fb6e1bebc9ea29d320a8f1d4719ee8ca8a9ac5a5 /html/subx/000organization.cc.html | |
parent | e0a0484c9faf561ab53f915ad9573c0803966faf (diff) | |
download | mu-1f08b541af47398afb3f64968b2fc5e96c58b7bb.tar.gz |
4724
Diffstat (limited to 'html/subx/000organization.cc.html')
-rw-r--r-- | html/subx/000organization.cc.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/subx/000organization.cc.html b/html/subx/000organization.cc.html index e3e2abb4..ca4ac190 100644 --- a/html/subx/000organization.cc.html +++ b/html/subx/000organization.cc.html @@ -169,12 +169,12 @@ if ('onhashchange' in window) { <span id="L110" class="LineNr">110 </span><span class="Comment">//</span> <span id="L111" class="LineNr">111 </span><span class="Comment">// End Globals</span> <span id="L112" class="LineNr">112 </span> -<span id="L113" class="LineNr">113 </span><span class="Normal">int</span> <a href='000organization.cc.html#L113'>main</a><span class="Delimiter">(</span><span class="Normal">int</span> argc<span class="Delimiter">,</span> <span class="Normal">char</span>* argv[]<span class="Delimiter">)</span> <span class="Delimiter">{</span> -<span id="L114" class="LineNr">114 </span> atexit<span class="Delimiter">(</span><a href='000organization.cc.html#L148'>reset</a><span class="Delimiter">);</span> +<span id="L113" class="LineNr">113 </span><span class="Normal">int</span> main<span class="Delimiter">(</span><span class="Normal">int</span> argc<span class="Delimiter">,</span> <span class="Normal">char</span>* argv[]<span class="Delimiter">)</span> <span class="Delimiter">{</span> +<span id="L114" class="LineNr">114 </span> atexit<span class="Delimiter">(</span>reset<span class="Delimiter">);</span> <span id="L115" class="LineNr">115 </span> <span class="Comment">// we require a 32-bit little-endian system</span> <span id="L116" class="LineNr">116 </span> assert<span class="Delimiter">(</span><span class="Normal">sizeof</span><span class="Delimiter">(</span><span class="Normal">int</span><span class="Delimiter">)</span> == <span class="Constant">4</span><span class="Delimiter">);</span> <span id="L117" class="LineNr">117 </span> assert<span class="Delimiter">(</span><span class="Normal">sizeof</span><span class="Delimiter">(</span><span class="Normal">float</span><span class="Delimiter">)</span> == <span class="Constant">4</span><span class="Delimiter">);</span> -<span id="L118" class="LineNr">118 </span> <a href='000organization.cc.html#L152'>assert_little_endian</a><span class="Delimiter">();</span> +<span id="L118" class="LineNr">118 </span> assert_little_endian<span class="Delimiter">();</span> <span id="L119" class="LineNr">119 </span> <span id="L120" class="LineNr">120 </span> <span class="Comment">// End One-time Setup</span> <span id="L121" class="LineNr">121 </span> @@ -204,11 +204,11 @@ if ('onhashchange' in window) { <span id="L145" class="LineNr">145 </span><span class="Comment">//: 'build' script contains a little command to automatically generate</span> <span id="L146" class="LineNr">146 </span><span class="Comment">//: declarations for them.</span> <span id="L147" class="LineNr">147 </span><span class="Delimiter">:(code)</span> -<span id="L148" class="LineNr">148 </span><span class="Normal">void</span> <a href='000organization.cc.html#L148'>reset</a><span class="Delimiter">()</span> <span class="Delimiter">{</span> +<span id="L148" class="LineNr">148 </span><span class="Normal">void</span> reset<span class="Delimiter">()</span> <span class="Delimiter">{</span> <span id="L149" class="LineNr">149 </span> <span class="Comment">// End Reset</span> <span id="L150" class="LineNr">150 </span><span class="Delimiter">}</span> <span id="L151" class="LineNr">151 </span> -<span id="L152" class="LineNr">152 </span><span class="Normal">void</span> <a href='000organization.cc.html#L152'>assert_little_endian</a><span class="Delimiter">()</span> <span class="Delimiter">{</span> +<span id="L152" class="LineNr">152 </span><span class="Normal">void</span> assert_little_endian<span class="Delimiter">()</span> <span class="Delimiter">{</span> <span id="L153" class="LineNr">153 </span> <span class="Normal">const</span> <span class="Normal">int</span> x = <span class="Constant">1</span><span class="Delimiter">;</span> <span id="L154" class="LineNr">154 </span> <span class="Normal">const</span> <span class="Normal">char</span>* y = <span class="Normal">reinterpret_cast</span><<span class="Normal">const</span> <span class="Normal">char</span>*><span class="Delimiter">(</span>&x<span class="Delimiter">);</span> <span id="L155" class="LineNr">155 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>*y != <span class="Constant">1</span><span class="Delimiter">)</span> <span class="Delimiter">{</span> |