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>Syntax</H2>
16<dl><dd><pre class="construction">
17#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);
24</pre></dd></dl>
25
26<H2>Arguments</H2>
27<TABLE class="arguments" border="1" >
28  <TR>
29<TH>alloc</TH>
30<TD>Storage destination of a pointer to a function used for allocating memory.</TD>
31  </TR>
32  <TR>
33<TH>free</TH>
34<TD>Storage destination of a pointer to a function used for freeing memory.</TD>
35  </TR>
36</TABLE>
37
38<H2>Return Values</H2>
39<P>None.</P>
40
41<H2>Description</H2>
42<P>The <code>AXFXGetHooks</code> function obtains pointers to memory allocation- or deallocation-related functions currently registered to the AXFX Library.</P>
43
44<H2>See Also</H2>
45<P class="reference">
46<A href="AXFXSetHooks.html">AXFXSetHooks</A>
47</p>
48
49<H2>Revision History</H2>
50<P>
512007/08/06 Initial version.
52</P>
53
54<hr><p>CONFIDENTIAL</p></body>
55</HTML>
56