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>ELAlloc</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">ELAlloc <img src="../image/TWL.gif" align="middle"></h1>
12<h2>Definition</h2>
13<DL>
14  <DD>
15<CODE>#include &lt;twl/el.h&gt;</CODE><BR> <BR>
16  <PRE><CODE>
17typedef void *(*ELAlloc)(size_t size);
18</CODE></PRE>
19</DL>
20
21<H2>Elements</H2>
22<TABLE border="1" width="100%">
23  <TBODY>
24    <TR>
25<TD width="13%"><EM><STRONG>size</STRONG></EM></TD>
26<TD width="87%">Size of the region you want to reserve (bytes)</TD>
27    </TR>
28  </TBODY>
29</TABLE>
30
31<H2>Description</H2>
32<P>
33The EL library uses this allocator to allocate memory.<br>If the specified size is successfully allocated, be sure to return the start address of the allocated memory.<br>If the specified size is not successfully allocated, be sure to return NULL.
34</P>
35
36<H2>Revision History</H2>
37<P>
382008/10/02 Added a description of the values to be returned by the allocator.<br> 2008/01/21 Initial version.</P>
39<hr><p>CONFIDENTIAL</p></body>
40</HTML>
41