<!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.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>My Project: SDL_test_memory.h File Reference</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">My Project </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&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&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> <!-- 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><!-- top --> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">SDL_test_memory.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="begin__code_8h_source.html">begin_code.h</a>"</code><br /> <code>#include "<a class="el" href="close__code_8h_source.html">close_code.h</a>"</code><br /> </div> <p><a href="SDL__test__memory_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:aa83b2e85883723b069653d8c7bb2c30d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__test__memory_8h.html#aa83b2e85883723b069653d8c7bb2c30d">SDLTest_TrackAllocations</a> (void)</td></tr> <tr class="memdesc:aa83b2e85883723b069653d8c7bb2c30d"><td class="mdescLeft"> </td><td class="mdescRight">Start tracking SDL memory allocations. <a href="#aa83b2e85883723b069653d8c7bb2c30d">More...</a><br /></td></tr> <tr class="separator:aa83b2e85883723b069653d8c7bb2c30d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a184fd271f563e77460e586245c1535c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="SDL__test__memory_8h.html#a184fd271f563e77460e586245c1535c3">SDLTest_LogAllocations</a> (void)</td></tr> <tr class="memdesc:a184fd271f563e77460e586245c1535c3"><td class="mdescLeft"> </td><td class="mdescRight">Print a log of any outstanding allocations. <a href="#a184fd271f563e77460e586245c1535c3">More...</a><br /></td></tr> <tr class="separator:a184fd271f563e77460e586245c1535c3"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Include file for SDL test framework.</p> <p>This code is a part of the SDL2_test library, not the main SDL library. </p> </div><h2 class="groupheader">Function Documentation</h2> <a id="a184fd271f563e77460e586245c1535c3"></a> <h2 class="memtitle"><span class="permalink"><a href="#a184fd271f563e77460e586245c1535c3">◆ </a></span>SDLTest_LogAllocations()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void SDLTest_LogAllocations </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Print a log of any outstanding allocations. </p> <dl class="section note"><dt>Note</dt><dd>This can be called after <a class="el" href="SDL_8h.html#afdabaf714781099083592051f2d9ac11">SDL_Quit()</a> </dd></dl> </div> </div> <a id="aa83b2e85883723b069653d8c7bb2c30d"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa83b2e85883723b069653d8c7bb2c30d">◆ </a></span>SDLTest_TrackAllocations()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int SDLTest_TrackAllocations </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Start tracking SDL memory allocations. </p> <dl class="section note"><dt>Note</dt><dd>This should be called before any other SDL functions for complete tracking coverage </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.15 </small></address> </body> </html>