1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<TITLE>AXFXGetHooks</TITLE>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META http-equiv="Content-Style-Type" content="text/css">
9</head>
10
11<BODY>
12
13<H1 align="left">AXFXGetHooks</H1>
14
15<H2>C Specification</H2>
16<BLOCKQUOTE>
17<PRE><CODE>#include &lt;revolution.h&gt;
18#include &lt;revolution/axfx.h&gt;
19
20typedef void* (*AXFXAlloc)(u32);
21typedef void  (*AXFXFree) (void*);
22
23void AXFXGetHooks (AXFXAlloc *alloc, AXFXFree *free);</CODE></PRE>
24</BLOCKQUOTE>
25
26<H2>Arguments</H2>
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28  <TBODY>
29    <TR>
30<TD width="120" bgcolor="#ffffe8"><EM><STRONG><code>alloc </code></STRONG></EM></TD>
31<TD width="520">Storage destination of a pointer to a function used for allocating memory.</TD>
32    </TR>
33    <TR>
34<TD width="120" bgcolor="#ffffe8"><EM><STRONG><code>free</code></STRONG></EM></TD>
35<TD width="520">Storage destination of a pointer to a function used for freeing memory.</TD>
36    </TR>
37  </TBODY>
38</TABLE>
39
40<H2>Return Values</H2>
41<P>None.</P>
42
43<H2>Description</H2>
44<P>The <code>AXFXGetHooks</code> function obtains pointers to memory allocation- or deallocation-related functions currently registered to the AXFX Library.</P>
45
46<H2>See Also</H2>
47<p>
48<code><A href="AXFXSetHooks.html"><CODE>AXFXSetHooks</CODE></A><br></code>
49</p>
50
51<H2>Revision History</H2>
52<P>
532007/08/06 Initial version.<br>
54</P>
55
56<hr><p>CONFIDENTIAL</p></body>
57</HTML>
58