libnx/types_8h_source.html
2025-05-08 06:59:12 +00:00

213 lines
32 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libnx: include/switch/types.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libnx<span id="projectnumber">&#160;v4.9.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_42bea3d40f1f1694e41a8f3166c98108.html">switch</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">types.h</div></div>
</div><!--header-->
<div class="contents">
<a href="types_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/**</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * @file switch/types.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * @brief Various system types.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * @copyright libnx Authors</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> */</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;stdbool.h&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;stddef.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;stdalign.h&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#ifndef SSIZE_MAX</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#ifdef SIZE_MAX</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define SSIZE_MAX ((SIZE_MAX) &gt;&gt; 1)</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca"> 19</a></span><span class="keyword">typedef</span> uint8_t <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a>; <span class="comment">///&lt; 8-bit unsigned integer.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa"> 20</a></span><span class="keyword">typedef</span> uint16_t <a class="code hl_typedef" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a>; <span class="comment">///&lt; 16-bit unsigned integer.</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba"> 21</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a>; <span class="comment">///&lt; 32-bit unsigned integer.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234"> 22</a></span><span class="keyword">typedef</span> uint64_t <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a>; <span class="comment">///&lt; 64-bit unsigned integer.</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="types_8h.html#a99f41a347e7d272c76fc2c4650268ec0"> 23</a></span><span class="keyword">typedef</span> __uint128_t <a class="code hl_typedef" href="types_8h.html#a99f41a347e7d272c76fc2c4650268ec0">u128</a>; <span class="comment">///&lt; 128-bit unsigned integer.</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80"> 25</a></span><span class="keyword">typedef</span> int8_t <a class="code hl_typedef" href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80">s8</a>; <span class="comment">///&lt; 8-bit signed integer.</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="types_8h.html#aa980e2c02ba2305e0f489d5650655425"> 26</a></span><span class="keyword">typedef</span> int16_t <a class="code hl_typedef" href="types_8h.html#aa980e2c02ba2305e0f489d5650655425">s16</a>; <span class="comment">///&lt; 16-bit signed integer.</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4"> 27</a></span><span class="keyword">typedef</span> int32_t <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a>; <span class="comment">///&lt; 32-bit signed integer.</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269"> 28</a></span><span class="keyword">typedef</span> int64_t <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a>; <span class="comment">///&lt; 64-bit signed integer.</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="types_8h.html#a06f3e9427aac200e94e2f76be78b6ec6"> 29</a></span><span class="keyword">typedef</span> __int128_t <a class="code hl_typedef" href="types_8h.html#a06f3e9427aac200e94e2f76be78b6ec6">s128</a>; <span class="comment">///&lt; 128-bit unsigned integer.</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="types_8h.html#a1a2a3100a902c32a55d8b08915bce044"> 31</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_typedef" href="types_8h.html#a1a2a3100a902c32a55d8b08915bce044">vu8</a>; <span class="comment">///&lt; 8-bit volatile unsigned integer.</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="types_8h.html#a677aa1edce4bbb53741b1cc24eb4c035"> 32</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a> <a class="code hl_typedef" href="types_8h.html#a677aa1edce4bbb53741b1cc24eb4c035">vu16</a>; <span class="comment">///&lt; 16-bit volatile unsigned integer.</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="types_8h.html#abcdd5d61f51cb4c472ac6637916cf72a"> 33</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_typedef" href="types_8h.html#abcdd5d61f51cb4c472ac6637916cf72a">vu32</a>; <span class="comment">///&lt; 32-bit volatile unsigned integer.</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="types_8h.html#ace392b4d1c3911331b2fe5ddc99fdcba"> 34</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_typedef" href="types_8h.html#ace392b4d1c3911331b2fe5ddc99fdcba">vu64</a>; <span class="comment">///&lt; 64-bit volatile unsigned integer.</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="types_8h.html#a452830480f794c7a3cfdb686d5bd77b8"> 35</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a99f41a347e7d272c76fc2c4650268ec0">u128</a> <a class="code hl_typedef" href="types_8h.html#a452830480f794c7a3cfdb686d5bd77b8">vu128</a>; <span class="comment">///&lt; 128-bit volatile unsigned integer.</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="types_8h.html#a108e1a5e4c3e8322825ef7dcd45966ca"> 37</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80">s8</a> <a class="code hl_typedef" href="types_8h.html#a108e1a5e4c3e8322825ef7dcd45966ca">vs8</a>; <span class="comment">///&lt; 8-bit volatile signed integer.</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="types_8h.html#a84c4ebe721fa065d9bd514ce8d76c455"> 38</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#aa980e2c02ba2305e0f489d5650655425">s16</a> <a class="code hl_typedef" href="types_8h.html#a84c4ebe721fa065d9bd514ce8d76c455">vs16</a>; <span class="comment">///&lt; 16-bit volatile signed integer.</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="types_8h.html#a6c6cf6e3aedfd399080c6f52c2870063"> 39</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> <a class="code hl_typedef" href="types_8h.html#a6c6cf6e3aedfd399080c6f52c2870063">vs32</a>; <span class="comment">///&lt; 32-bit volatile signed integer.</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="types_8h.html#a484adfab567791250a9fdbf0db8d3144"> 40</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a> <a class="code hl_typedef" href="types_8h.html#a484adfab567791250a9fdbf0db8d3144">vs64</a>; <span class="comment">///&lt; 64-bit volatile signed integer.</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="types_8h.html#a6eb3e357bbc551d5bdc4f1af9f57531a"> 41</a></span><span class="keyword">typedef</span> <span class="keyword">volatile</span> <a class="code hl_typedef" href="types_8h.html#a06f3e9427aac200e94e2f76be78b6ec6">s128</a> <a class="code hl_typedef" href="types_8h.html#a6eb3e357bbc551d5bdc4f1af9f57531a">vs128</a>; <span class="comment">///&lt; 128-bit volatile signed integer.</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="types_8h.html#ab6d744c6b5de129f12937e482dc674fb"> 43</a></span><span class="keyword">typedef</span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_typedef" href="types_8h.html#ab6d744c6b5de129f12937e482dc674fb">Handle</a>; <span class="comment">///&lt; Kernel object handle.</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="types_8h.html#ad1be2721625a17f1be47fac918032afe"> 44</a></span><span class="keyword">typedef</span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a>; <span class="comment">///&lt; Function error code result type.</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="types_8h.html#a857e4e893f41191500e83c00058df64e"> 45</a></span><span class="keyword">typedef</span> void (*<a class="code hl_typedef" href="types_8h.html#a857e4e893f41191500e83c00058df64e">ThreadFunc</a>)(<span class="keywordtype">void</span> *); <span class="comment">///&lt; Thread entrypoint function.</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="types_8h.html#a5fe554ddab29fbcd75e14e38ee89724f"> 46</a></span><span class="keyword">typedef</span> void (*<a class="code hl_typedef" href="types_8h.html#a5fe554ddab29fbcd75e14e38ee89724f">VoidFn</a>)(void); <span class="comment">///&lt; Function without arguments nor return value.</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structUuid.html"> 48</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{ <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> uuid[0x10]; } <a class="code hl_struct" href="structUuid.html">Uuid</a>; <span class="comment">///&lt; Unique identifier.</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structUtilFloat3.html"> 50</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{ <span class="keywordtype">float</span> value[3]; } <a class="code hl_struct" href="structUtilFloat3.html">UtilFloat3</a>; <span class="comment">///&lt; 3 floats.</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="comment"></span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment">/// Creates a bitmask from a bit number.</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment"></span><span class="preprocessor">#ifndef BIT</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="types_8h.html#a3a8ea58898cb58fc96013383d39f482c"> 54</a></span><span class="preprocessor">#define BIT(n) (1U&lt;&lt;(n))</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="preprocessor">#ifndef BITL</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="preprocessor">#define BITL(n) (1UL&lt;&lt;(n))</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="comment"></span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="comment">/// Packs a struct so that it won&#39;t include padding bytes.</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment"></span><span class="preprocessor">#ifndef NX_PACKED</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="types_8h.html#ab6bd3fc8e13d24a2612da07835dda696"> 63</a></span><span class="preprocessor">#define NX_PACKED __attribute__((packed))</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="comment"></span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="comment">/// Marks a function as not returning, for the purposes of compiler optimization.</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="comment"></span><span class="preprocessor">#ifndef NX_NORETURN</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="types_8h.html#ade5bb7679c90297209347fcb85a0db41"> 68</a></span><span class="preprocessor">#define NX_NORETURN __attribute__((noreturn))</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="comment"></span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><span class="comment">/// Performs a dummy operation on the specified argument in order to silence compiler warnings about unused arguments.</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="comment"></span><span class="preprocessor">#ifndef NX_IGNORE_ARG</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="types_8h.html#ad9c3c1e372ced2dbb66af3ea47a25706"> 73</a></span><span class="preprocessor">#define NX_IGNORE_ARG(x) (void)(x)</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="comment"></span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="comment">/// Flags a function as deprecated.</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="comment"></span><span class="preprocessor">#ifndef NX_DEPRECATED</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="preprocessor">#ifndef LIBNX_NO_DEPRECATION</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="types_8h.html#a3031374110fcec2abeda96092d9db2cf"> 79</a></span><span class="preprocessor">#define NX_DEPRECATED __attribute__ ((deprecated))</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="preprocessor">#define NX_DEPRECATED</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="comment"></span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="comment">/// Flags a function as (always) inline.</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="types_8h.html#a0a13a49371a760adfdde1b4d7c965abb"> 86</a></span><span class="comment"></span><span class="preprocessor">#define NX_INLINE __attribute__((always_inline)) static inline</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="comment"></span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="comment">/// Flags a function as constexpr in C++14 and above; or as (always) inline otherwise.</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span><span class="comment"></span><span class="preprocessor">#if __cplusplus &gt;= 201402L</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><span class="preprocessor">#define NX_CONSTEXPR NX_INLINE constexpr</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="types_8h.html#ae2a0903442f062ed4f9f0568a6f1a297"> 92</a></span><span class="preprocessor">#define NX_CONSTEXPR NX_INLINE</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="comment"></span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment">/// Invalid handle.</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="types_8h.html#a6bedb180bae32d77457eca11086b6142"> 96</a></span><span class="comment"></span><span class="preprocessor">#define INVALID_HANDLE ((Handle) 0)</span></div>
<div class="ttc" id="astructUtilFloat3_html"><div class="ttname"><a href="structUtilFloat3.html">UtilFloat3</a></div><div class="ttdef"><b>Definition</b> types.h:50</div></div>
<div class="ttc" id="astructUuid_html"><div class="ttname"><a href="structUuid.html">Uuid</a></div><div class="ttdef"><b>Definition</b> types.h:48</div></div>
<div class="ttc" id="atypes_8h_html_a06f3e9427aac200e94e2f76be78b6ec6"><div class="ttname"><a href="types_8h.html#a06f3e9427aac200e94e2f76be78b6ec6">s128</a></div><div class="ttdeci">__int128_t s128</div><div class="ttdoc">128-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:29</div></div>
<div class="ttc" id="atypes_8h_html_a108e1a5e4c3e8322825ef7dcd45966ca"><div class="ttname"><a href="types_8h.html#a108e1a5e4c3e8322825ef7dcd45966ca">vs8</a></div><div class="ttdeci">volatile s8 vs8</div><div class="ttdoc">8-bit volatile signed integer.</div><div class="ttdef"><b>Definition</b> types.h:37</div></div>
<div class="ttc" id="atypes_8h_html_a1a2a3100a902c32a55d8b08915bce044"><div class="ttname"><a href="types_8h.html#a1a2a3100a902c32a55d8b08915bce044">vu8</a></div><div class="ttdeci">volatile u8 vu8</div><div class="ttdoc">8-bit volatile unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:31</div></div>
<div class="ttc" id="atypes_8h_html_a350c6fc928e3bdc6c6486268ac8fb269"><div class="ttname"><a href="types_8h.html#a350c6fc928e3bdc6c6486268ac8fb269">s64</a></div><div class="ttdeci">int64_t s64</div><div class="ttdoc">64-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:28</div></div>
<div class="ttc" id="atypes_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdoc">64-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:22</div></div>
<div class="ttc" id="atypes_8h_html_a452830480f794c7a3cfdb686d5bd77b8"><div class="ttname"><a href="types_8h.html#a452830480f794c7a3cfdb686d5bd77b8">vu128</a></div><div class="ttdeci">volatile u128 vu128</div><div class="ttdoc">128-bit volatile unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:35</div></div>
<div class="ttc" id="atypes_8h_html_a484adfab567791250a9fdbf0db8d3144"><div class="ttname"><a href="types_8h.html#a484adfab567791250a9fdbf0db8d3144">vs64</a></div><div class="ttdeci">volatile s64 vs64</div><div class="ttdoc">64-bit volatile signed integer.</div><div class="ttdef"><b>Definition</b> types.h:40</div></div>
<div class="ttc" id="atypes_8h_html_a5fe554ddab29fbcd75e14e38ee89724f"><div class="ttname"><a href="types_8h.html#a5fe554ddab29fbcd75e14e38ee89724f">VoidFn</a></div><div class="ttdeci">void(* VoidFn)(void)</div><div class="ttdoc">Function without arguments nor return value.</div><div class="ttdef"><b>Definition</b> types.h:46</div></div>
<div class="ttc" id="atypes_8h_html_a677aa1edce4bbb53741b1cc24eb4c035"><div class="ttname"><a href="types_8h.html#a677aa1edce4bbb53741b1cc24eb4c035">vu16</a></div><div class="ttdeci">volatile u16 vu16</div><div class="ttdoc">16-bit volatile unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:32</div></div>
<div class="ttc" id="atypes_8h_html_a6c6cf6e3aedfd399080c6f52c2870063"><div class="ttname"><a href="types_8h.html#a6c6cf6e3aedfd399080c6f52c2870063">vs32</a></div><div class="ttdeci">volatile s32 vs32</div><div class="ttdoc">32-bit volatile signed integer.</div><div class="ttdef"><b>Definition</b> types.h:39</div></div>
<div class="ttc" id="atypes_8h_html_a6eb3e357bbc551d5bdc4f1af9f57531a"><div class="ttname"><a href="types_8h.html#a6eb3e357bbc551d5bdc4f1af9f57531a">vs128</a></div><div class="ttdeci">volatile s128 vs128</div><div class="ttdoc">128-bit volatile signed integer.</div><div class="ttdef"><b>Definition</b> types.h:41</div></div>
<div class="ttc" id="atypes_8h_html_a84c4ebe721fa065d9bd514ce8d76c455"><div class="ttname"><a href="types_8h.html#a84c4ebe721fa065d9bd514ce8d76c455">vs16</a></div><div class="ttdeci">volatile s16 vs16</div><div class="ttdoc">16-bit volatile signed integer.</div><div class="ttdef"><b>Definition</b> types.h:38</div></div>
<div class="ttc" id="atypes_8h_html_a857e4e893f41191500e83c00058df64e"><div class="ttname"><a href="types_8h.html#a857e4e893f41191500e83c00058df64e">ThreadFunc</a></div><div class="ttdeci">void(* ThreadFunc)(void *)</div><div class="ttdoc">Thread entrypoint function.</div><div class="ttdef"><b>Definition</b> types.h:45</div></div>
<div class="ttc" id="atypes_8h_html_a92c50087ca0e64fa93fc59402c55f8ca"><div class="ttname"><a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a></div><div class="ttdeci">uint8_t u8</div><div class="ttdoc">8-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:19</div></div>
<div class="ttc" id="atypes_8h_html_a99f41a347e7d272c76fc2c4650268ec0"><div class="ttname"><a href="types_8h.html#a99f41a347e7d272c76fc2c4650268ec0">u128</a></div><div class="ttdeci">__uint128_t u128</div><div class="ttdoc">128-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:23</div></div>
<div class="ttc" id="atypes_8h_html_a9e382f207c65ca13ab4ae98363aeda80"><div class="ttname"><a href="types_8h.html#a9e382f207c65ca13ab4ae98363aeda80">s8</a></div><div class="ttdeci">int8_t s8</div><div class="ttdoc">8-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:25</div></div>
<div class="ttc" id="atypes_8h_html_aa980e2c02ba2305e0f489d5650655425"><div class="ttname"><a href="types_8h.html#aa980e2c02ba2305e0f489d5650655425">s16</a></div><div class="ttdeci">int16_t s16</div><div class="ttdoc">16-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:26</div></div>
<div class="ttc" id="atypes_8h_html_ab6d744c6b5de129f12937e482dc674fb"><div class="ttname"><a href="types_8h.html#ab6d744c6b5de129f12937e482dc674fb">Handle</a></div><div class="ttdeci">u32 Handle</div><div class="ttdoc">Kernel object handle.</div><div class="ttdef"><b>Definition</b> types.h:43</div></div>
<div class="ttc" id="atypes_8h_html_abcdd5d61f51cb4c472ac6637916cf72a"><div class="ttname"><a href="types_8h.html#abcdd5d61f51cb4c472ac6637916cf72a">vu32</a></div><div class="ttdeci">volatile u32 vu32</div><div class="ttdoc">32-bit volatile unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:33</div></div>
<div class="ttc" id="atypes_8h_html_ace392b4d1c3911331b2fe5ddc99fdcba"><div class="ttname"><a href="types_8h.html#ace392b4d1c3911331b2fe5ddc99fdcba">vu64</a></div><div class="ttdeci">volatile u64 vu64</div><div class="ttdoc">64-bit volatile unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:34</div></div>
<div class="ttc" id="atypes_8h_html_ace9d960e74685e2cd84b36132dbbf8aa"><div class="ttname"><a href="types_8h.html#ace9d960e74685e2cd84b36132dbbf8aa">u16</a></div><div class="ttdeci">uint16_t u16</div><div class="ttdoc">16-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:20</div></div>
<div class="ttc" id="atypes_8h_html_ad1be2721625a17f1be47fac918032afe"><div class="ttname"><a href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a></div><div class="ttdeci">u32 Result</div><div class="ttdoc">Function error code result type.</div><div class="ttdef"><b>Definition</b> types.h:44</div></div>
<div class="ttc" id="atypes_8h_html_ae9b1af5c037e57a98884758875d3a7c4"><div class="ttname"><a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a></div><div class="ttdeci">int32_t s32</div><div class="ttdoc">32-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:27</div></div>
<div class="ttc" id="atypes_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdoc">32-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:21</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>