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>EL_Init</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">EL_Init <img src="../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <CODE>#include <twl/el.h></CODE><BR> 16 <BR> 17 <CODE>s32 EL_Init( <A href="ELAlloc.html">ELAlloc</A> alloc, <A href="ELFree.html">ELFree</A> free );</CODE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" width="100%"> 21 <TBODY> 22 <TR> 23<TD><SPAN class="argument">alloc</SPAN></TD> 24<TD>Function used internally by the EL library to allocate memory.</TD> 25 </TR> 26 <TR> 27<TD><SPAN class="argument">free</SPAN></TD> 28<TD>Function used internally by the EL library to free memory.</TD> 29 </TR> 30 </TBODY> 31</TABLE> 32 33<H2>Return Values</H2> 34<P> 35Returns 0 if initialization of the EL library succeeds.<BR>Returns -1 if the process fails. 36</P> 37 38<H2>Description</H2> 39<P> 40Initializes the EL library. Call this function once before using the EL library. Before using the EL library, be sure to call this function to specify the allocator to be used internally. 41</P> 42 43<H2>See Also</H2> 44<P><A href="ELAlloc.html"><CODE>ELAlloc</CODE></A><BR> <A href="ELFree.html"><CODE>ELFree</CODE></A></P> 45<H2>Revision History</H2> 46<P> 472008/10/02 Revised the allocator specification.<br> 2007/08/21 Initial version.</P> 48<hr><p>CONFIDENTIAL</p></body> 49</HTML> 50