wut/group__coreinit__memblockheap.html
2020-03-26 16:49:18 +11:00

580 lines
28 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: Block Heap</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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Block Heap<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structMEMBlockHeapTracking"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a></td></tr>
<tr class="separator:structMEMBlockHeapTracking"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structMEMBlockHeapBlock"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a></td></tr>
<tr class="separator:structMEMBlockHeapBlock"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structMEMBlockHeap"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a></td></tr>
<tr class="separator:structMEMBlockHeap"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga45858f039e5b8daf978d07f9a1391e00"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga45858f039e5b8daf978d07f9a1391e00">MEMBlockHeapBlock</a></td></tr>
<tr class="separator:ga45858f039e5b8daf978d07f9a1391e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0f581440e5db253705623676676c41e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#gae0f581440e5db253705623676676c41e">MEMBlockHeapTracking</a></td></tr>
<tr class="separator:gae0f581440e5db253705623676676c41e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaafcc77af210f6c02bf83bc3eeffd48fa"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#gaafcc77af210f6c02bf83bc3eeffd48fa">MEMBlockHeap</a></td></tr>
<tr class="separator:gaafcc77af210f6c02bf83bc3eeffd48fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga52ca015c65c37752d49595d9c20feb4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga52ca015c65c37752d49595d9c20feb4a">MEMInitBlockHeap</a> (<a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a> *heap, void *start, void *end, <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a> *blocks, uint32_t size, uint32_t flags)</td></tr>
<tr class="separator:ga52ca015c65c37752d49595d9c20feb4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8df189ceaad03ebb265f8e90dc76d3ab"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga8df189ceaad03ebb265f8e90dc76d3ab">MEMDestroyBlockHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga8df189ceaad03ebb265f8e90dc76d3ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga30a71593e33c89701ab7348f9016b877"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga30a71593e33c89701ab7348f9016b877">MEMAddBlockHeapTracking</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a> *tracking, uint32_t size)</td></tr>
<tr class="separator:ga30a71593e33c89701ab7348f9016b877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6cc8343702218c9b8bbc2d3f9fb015e0"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga6cc8343702218c9b8bbc2d3f9fb015e0">MEMAllocFromBlockHeapAt</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, void *addr, uint32_t size)</td></tr>
<tr class="separator:ga6cc8343702218c9b8bbc2d3f9fb015e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29b47fa5eabf58d9bcd28e3cc7af2e6b"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga29b47fa5eabf58d9bcd28e3cc7af2e6b">MEMAllocFromBlockHeapEx</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, uint32_t size, int32_t align)</td></tr>
<tr class="separator:ga29b47fa5eabf58d9bcd28e3cc7af2e6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac5a2ac967312da58eeee78d3fabf1dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#gaac5a2ac967312da58eeee78d3fabf1dd">MEMFreeToBlockHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, void *data)</td></tr>
<tr class="separator:gaac5a2ac967312da58eeee78d3fabf1dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa99a5006b7a01dab5c7940855653e3d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#gafa99a5006b7a01dab5c7940855653e3d">MEMGetAllocatableSizeForBlockHeapEx</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap, int32_t align)</td></tr>
<tr class="separator:gafa99a5006b7a01dab5c7940855653e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46abe0977e0c389cb0c33c0ca9b4291f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga46abe0977e0c389cb0c33c0ca9b4291f">MEMGetTrackingLeftInBlockHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga46abe0977e0c389cb0c33c0ca9b4291f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e0ed5528d811a7724fc5160c29e9606"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__memblockheap.html#ga8e0ed5528d811a7724fc5160c29e9606">MEMGetTotalFreeSizeForBlockHeap</a> (<a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> heap)</td></tr>
<tr class="separator:ga8e0ed5528d811a7724fc5160c29e9606"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structMEMBlockHeapTracking" id="structMEMBlockHeapTracking"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structMEMBlockHeapTracking">&#9670;&nbsp;</a></span>MEMBlockHeapTracking</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct MEMBlockHeapTracking</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00019">19</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a4f75f3d0d6821b9881231c1d487fe063"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
blocks</td>
<td class="fielddoc">
Pointer to first memory block. </td></tr>
<tr><td class="fieldtype">
<a id="a359235f8ff745acf36826f7859097c4f"></a>uint32_t</td>
<td class="fieldname">
blockCount</td>
<td class="fielddoc">
Number of blocks in this tracking heap. </td></tr>
</table>
</div>
</div>
<a name="structMEMBlockHeapBlock" id="structMEMBlockHeapBlock"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structMEMBlockHeapBlock">&#9670;&nbsp;</a></span>MEMBlockHeapBlock</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct MEMBlockHeapBlock</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00033">33</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a53255b934b07b472175fbb8e847f9b5d"></a>void *</td>
<td class="fieldname">
start</td>
<td class="fielddoc">
First address of the data region this block has allocated. </td></tr>
<tr><td class="fieldtype">
<a id="a57dfa4d169c6b9c0b4e7352bc0c34366"></a>void *</td>
<td class="fieldname">
end</td>
<td class="fielddoc">
End address of the data region this block has allocated. </td></tr>
<tr><td class="fieldtype">
<a id="a6be42b3eb9e8a90b22026f94742b5c28"></a><a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a></td>
<td class="fieldname">
isFree</td>
<td class="fielddoc">
TRUE if the block is free, FALSE if allocated. </td></tr>
<tr><td class="fieldtype">
<a id="a9a3455df6b2b78a203ed590ebcef3e15"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
prev</td>
<td class="fielddoc">
Link to previous block, note that this is only set for allocated blocks. </td></tr>
<tr><td class="fieldtype">
<a id="a2280d787d75d6e93f7c8b771a597d65a"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
next</td>
<td class="fielddoc">
Link to next block, always set. </td></tr>
</table>
</div>
</div>
<a name="structMEMBlockHeap" id="structMEMBlockHeap"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structMEMBlockHeap">&#9670;&nbsp;</a></span>MEMBlockHeap</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct MEMBlockHeap</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00057">57</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a0edcfdc3d5cf965f0929bf203c4a1dbb"></a><a class="el" href="group__coreinit__memheap.html#structMEMHeapHeader">MEMHeapHeader</a></td>
<td class="fieldname">
header</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aa95b31244ef58f22a5f337c625bd5da6"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a></td>
<td class="fieldname">
defaultTrack</td>
<td class="fielddoc">
Default tracking heap, tracks only defaultBlock. </td></tr>
<tr><td class="fieldtype">
<a id="a90bce83e474fb5ecdead9d23129c1769"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a></td>
<td class="fieldname">
defaultBlock</td>
<td class="fielddoc">
Default block, used so we don't have an empty block list. </td></tr>
<tr><td class="fieldtype">
<a id="a3f489ef875557f592a5c0dd7bcbfbcc5"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
firstBlock</td>
<td class="fielddoc">
First block in this heap. </td></tr>
<tr><td class="fieldtype">
<a id="abd9603779f3c7d87e0aff060d2033262"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
lastBlock</td>
<td class="fielddoc">
Last block in this heap. </td></tr>
<tr><td class="fieldtype">
<a id="a69e21124166fecc9aedafa4e05e03647"></a><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> *</td>
<td class="fieldname">
firstFreeBlock</td>
<td class="fielddoc">
First free block. </td></tr>
<tr><td class="fieldtype">
<a id="a40cdb39a4cee4e97f19cac636ceaa02a"></a>uint32_t</td>
<td class="fieldname">
numFreeBlocks</td>
<td class="fielddoc">
Free block count. </td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga45858f039e5b8daf978d07f9a1391e00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga45858f039e5b8daf978d07f9a1391e00">&#9670;&nbsp;</a></span>MEMBlockHeapBlock</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a> <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapBlock">MEMBlockHeapBlock</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00015">15</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div>
</div>
<a id="gae0f581440e5db253705623676676c41e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0f581440e5db253705623676676c41e">&#9670;&nbsp;</a></span>MEMBlockHeapTracking</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a> <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00016">16</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div>
</div>
<a id="gaafcc77af210f6c02bf83bc3eeffd48fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaafcc77af210f6c02bf83bc3eeffd48fa">&#9670;&nbsp;</a></span>MEMBlockHeap</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a> <a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="memblockheap_8h_source.html#l00017">17</a> of file <a class="el" href="memblockheap_8h_source.html">memblockheap.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga52ca015c65c37752d49595d9c20feb4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga52ca015c65c37752d49595d9c20feb4a">&#9670;&nbsp;</a></span>MEMInitBlockHeap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a> MEMInitBlockHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeap">MEMBlockHeap</a> *&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a> *&#160;</td>
<td class="paramname"><em>blocks</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>flags</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga8df189ceaad03ebb265f8e90dc76d3ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8df189ceaad03ebb265f8e90dc76d3ab">&#9670;&nbsp;</a></span>MEMDestroyBlockHeap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMDestroyBlockHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga30a71593e33c89701ab7348f9016b877"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga30a71593e33c89701ab7348f9016b877">&#9670;&nbsp;</a></span>MEMAddBlockHeapTracking()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int MEMAddBlockHeapTracking </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__memblockheap.html#structMEMBlockHeapTracking">MEMBlockHeapTracking</a> *&#160;</td>
<td class="paramname"><em>tracking</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga6cc8343702218c9b8bbc2d3f9fb015e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6cc8343702218c9b8bbc2d3f9fb015e0">&#9670;&nbsp;</a></span>MEMAllocFromBlockHeapAt()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromBlockHeapAt </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga29b47fa5eabf58d9bcd28e3cc7af2e6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga29b47fa5eabf58d9bcd28e3cc7af2e6b">&#9670;&nbsp;</a></span>MEMAllocFromBlockHeapEx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void* MEMAllocFromBlockHeapEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>align</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaac5a2ac967312da58eeee78d3fabf1dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac5a2ac967312da58eeee78d3fabf1dd">&#9670;&nbsp;</a></span>MEMFreeToBlockHeap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MEMFreeToBlockHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>data</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gafa99a5006b7a01dab5c7940855653e3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafa99a5006b7a01dab5c7940855653e3d">&#9670;&nbsp;</a></span>MEMGetAllocatableSizeForBlockHeapEx()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetAllocatableSizeForBlockHeapEx </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>align</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga46abe0977e0c389cb0c33c0ca9b4291f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46abe0977e0c389cb0c33c0ca9b4291f">&#9670;&nbsp;</a></span>MEMGetTrackingLeftInBlockHeap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetTrackingLeftInBlockHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga8e0ed5528d811a7724fc5160c29e9606"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e0ed5528d811a7724fc5160c29e9606">&#9670;&nbsp;</a></span>MEMGetTotalFreeSizeForBlockHeap()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MEMGetTotalFreeSizeForBlockHeap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__memheap.html#ga3f18df06d1c3949e74a4b7bcb1c0b88c">MEMHeapHandle</a>&#160;</td>
<td class="paramname"><em>heap</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>