1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>MIAllocator</title>
8<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
9</head>
10<body>
11<h1>MIAllocator <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1>
12<h2>Definition</h2>
13
14<dl>
15  <dd>
16  <pre><code>#include &lt;nitro/mi.h&gt;
17
18typedef struct MIAllocator
19{
20<span style="color:#008000">/* private: */</span>
21    void                       *userdata;
22    MIAllocatorAllocFunction    Alloc;
23    MIAllocatorFreeFunction     Free;
24}
25MIAllocator;</code></pre>
26  </dd>
27</dl>
28
29<h2>Description</h2>
30<p>An interface structure for wrapping memory allocator features.</p>
31<p>This structure can be used as a standard prototype format for the memory allocator.</p>
32
33<h2>See Also</h2>
34<p><code><a href="MIAllocatorAllocFunction.html">MIAllocatorAllocFunction</a>, <a href="MIAllocatorFreeFunction.html">MIAllocatorFreeFunction</a> <br /> <a href="MI_InitAllocator.html">MI_InitAllocator</a>, <a href="MI_CallAlloc.html">MI_CallAlloc</a>, <a href="MI_CallFree.html">MI_CallFree</a></code></p>
35<h2>Revision History</h2>
36<p>
372007/06/12 Initial version.
38</p>
39<hr><p>CONFIDENTIAL</p></body>
40</html>
41