1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>RSOMakeJumpCode</title>
9</head>
10
11<body>
12
13<h1>RSOMakeJumpCode</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/rso.h&gt;
18
19void RSOMakeJumpCode(const RSOObjectHeader *rsoExp, void *buff);
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<TABLE class="arguments" border="1" >
24  <tr>
25<TH>rsoExp</TH>
26<TD>Pointer to the module information to reference.</TD>
27  </tr>
28  <tr>
29<TH>buff</TH>
30<TD>Pointer to the jump code destination.</TD>
31  </tr>
32</TABLE>
33
34<h2>Return Values</h2>
35<p>
36None.
37</p>
38
39<H2>Description</H2>
40<p>
41Creates a jump code required by the <code><a href="./RSOLinkJump.html">RSOLinkJump</a></code> function.<br> The buffer size required for jump code output is obtained with <code><a href="./RSOGetJumpCodeSize.html">RSOGetJumpCodeSize</a></code>.<br> Typically, allocate the buffer from <CODE>MEM2</CODE> if the referenced module is in <CODE>MEM1</CODE>, and from <CODE>MEM1</CODE> if the referenced module is in <CODE>MEM2</CODE>. (This should be the case when the buffer is necessary.)
42</p>
43
44<h2>See Also</h2>
45<p class="reference">
46<a href="./RSOLinkJump.html">RSOLinkJump</a>,
47<a href="./RSOGetJumpCodeSize.html">RSOGetJumpCodeSize</a>
48</p>
49
50<H2>Revision History</H2>
51<p>
522008/07/10 Removed <CODE>RSOLink.h</CODE> from <B>Syntax</B>.<BR> 2006/12/19 Initial version.<BR>
53</p>
54
55<hr><p>CONFIDENTIAL</p></body>
56</html>
57