Math.Gmp.Native/docs/html/2c9876e2-a0f5-14c6-5069-1a9...

19 lines
13 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>free_function Delegate</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="free_function delegate" /><meta name="System.Keywords" content="Math.Gmp.Native.free_function delegate" /><meta name="Microsoft.Help.F1" content="Math.Gmp.Native.free_function" /><meta name="Microsoft.Help.Id" content="T:Math.Gmp.Native.free_function" /><meta name="Description" content="De-allocate the space pointed to by ." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="2c9876e2-a0f5-14c6-5069-1a9d50b89185" /><meta name="guid" content="2c9876e2-a0f5-14c6-5069-1a9d50b89185" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="dfe3609d-cc50-e357-4254-e3a8e2847f07.htm" title="allocate_function Delegate" tocid="dfe3609d-cc50-e357-4254-e3a8e2847f07">allocate_function Delegate</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="06249483-9daf-95f9-32c7-30195550bbcc.htm" title="char_ptr Structure" tocid="06249483-9daf-95f9-32c7-30195550bbcc">char_ptr Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="1bcc07bd-8fee-1107-844c-a5ff10e7660c.htm" title="FILE Structure" tocid="1bcc07bd-8fee-1107-844c-a5ff10e7660c">FILE Structure</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="2c9876e2-a0f5-14c6-5069-1a9d50b89185.htm" title="free_function Delegate" tocid="2c9876e2-a0f5-14c6-5069-1a9d50b89185">free_function Delegate</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm" title="gmp_lib Class" tocid="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f">gmp_lib Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="f7e5846d-548d-3bf3-74ac-219fde42a041.htm" title="gmp_randstate_t Class" tocid="f7e5846d-548d-3bf3-74ac-219fde42a041">gmp_randstate_t Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="8f3c572b-8133-bccc-b838-9d22e3467898.htm" title="mp_base Class" tocid="8f3c572b-8133-bccc-b838-9d22e3467898">mp_base Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm" title="mp_bitcnt_t Structure" tocid="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3">mp_bitcnt_t Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm" title="mp_exp_t Structure" tocid="e6a17880-791f-37d4-4942-cf26ce7d4cbf">mp_exp_t Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm" title="mp_limb_t Structure" tocid="bf1f694d-f9b2-6413-12e5-ebae603d5b49">mp_limb_t Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4609ac5e-5cf9-cd20-2fa9-8040101c165c.htm" title="mp_ptr Class" tocid="4609ac5e-5cf9-cd20-2fa9-8040101c165c">mp_ptr Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4b58a584-7a0e-b600-18fa-ebd493861eb3.htm" title="mp_size_t Structure" tocid="4b58a584-7a0e-b600-18fa-ebd493861eb3">mp_size_t Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm" title="mpf_t Class" tocid="37c88d6c-8d02-2330-ad77-f20fb73d1677">mpf_t Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="635f1879-5f85-881e-cca8-3222baf5045a.htm" title="mpq_t Class" tocid="635f1879-5f85-881e-cca8-3222baf5045a">mpq_t Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm" title="mpz_t Class" tocid="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b">mpz_t Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="542faa00-d28a-72a2-2dd8-6c6021e683ce.htm" title="ptr(T) Class" tocid="542faa00-d28a-72a2-2dd8-6c6021e683ce">ptr(T) Class</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="aa9d21b4-a929-d550-5a65-f9cbcfa7f638.htm" title="reallocate_function Delegate" tocid="aa9d21b4-a929-d550-5a65-f9cbcfa7f638">reallocate_function Delegate</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9761bfb-1882-59d2-e89b-c6460141f9a6.htm" title="size_t Structure" tocid="d9761bfb-1882-59d2-e89b-c6460141f9a6">size_t Structure</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="4f2255b8-b87a-7b1b-286a-abb7293059d7.htm" title="va_list Class" tocid="4f2255b8-b87a-7b1b-286a-abb7293059d7">va_list Class</a></div><div class="toclevel2" data-toclevel="2"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm" title="void_ptr Structure" tocid="e200d734-044d-4cc7-acc7-2333d7cf3c9a">void_ptr Structure</a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="titleColumn">free_function Delegate</td></tr></table><span class="introStyle"></span> <div class="summary">
De-allocate the space pointed to by <span class="parameter">ptr</span>.
</div><p> </p>
<strong>Namespace:</strong>
 <a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native</a><br />
<strong>Assembly:</strong>
 Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDCA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><div id="ID0EDCA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><div id="ID0EDCA_tab3" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><div id="ID0EDCA_tab4" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDCA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDCA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDCA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">delegate</span> <span class="keyword">void</span> <span class="identifier">free_function</span>(
<span class="identifier">void_ptr</span> <span class="parameter">ptr</span>,
<span class="identifier">size_t</span> <span class="parameter">size</span>
)</pre></div><div id="ID0EDCA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Delegate</span> <span class="keyword">Sub</span> <span class="identifier">free_function</span> (
<span class="parameter">ptr</span> <span class="keyword">As</span> <span class="identifier">void_ptr</span>,
<span class="parameter">size</span> <span class="keyword">As</span> <span class="identifier">size_t</span>
)</pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">delegate</span> <span class="keyword">void</span> <span class="identifier">free_function</span>(
<span class="identifier">void_ptr</span> <span class="parameter">ptr</span>,
<span class="identifier">size_t</span> <span class="parameter">size</span>
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">type</span> <span class="identifier">free_function</span> =
<span class="keyword">delegate</span> <span class="keyword">of</span>
<span class="parameter">ptr</span> : <span class="identifier">void_ptr</span> *
<span class="parameter">size</span> : <span class="identifier">size_t</span> <span class="keyword">-&gt;</span> <span class="keyword">unit</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">ptr</span></dt><dd>Type: <a href="e200d734-044d-4cc7-acc7-2333d7cf3c9a.htm">Math.Gmp.Native<span id="LST8ADB1231_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8ADB1231_0?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>void_ptr</a><br />Pointer to previously allocated block.</dd><dt><span class="parameter">size</span></dt><dd>Type: <a href="d9761bfb-1882-59d2-e89b-c6460141f9a6.htm">Math.Gmp.Native<span id="LST8ADB1231_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST8ADB1231_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>size_t</a><br />Number of bytes of previously allocated block.</dd></dl></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID2RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>