~ubuntu-branches/ubuntu/quantal/simgrid/quantal

« back to all changes in this revision

Viewing changes to doc/html/group__XBT__mallocator__cons.html

  • Committer: Package Import Robot
  • Author(s): Lucas Nussbaum, Martin Quinson, Lucas Nussbaum
  • Date: 2012-06-09 16:24:44 UTC
  • mfrom: (10.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120609162444-xook34f3d6qy5ixj
Tags: 3.7.1-1
[ Martin Quinson ]
* debian/copyright: update FSF address (thanks lintian for noticing)

[ Lucas Nussbaum ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
5
<title>SimGrid: Mallocator constructor and destructor</title>
7
 
 
8
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
 
<link href="doxygen.css" rel="stylesheet" type="text/css" />
10
 
 
11
 
 
12
 
 
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
13
8
<link href="simgrid.css" rel="stylesheet" type="text/css">
14
9
</head>
15
10
<body>
16
 
<div id="top"><!-- do not remove this div! -->
17
 
 
18
 
 
 
11
<!-- Generated by Doxygen 1.7.4 -->
 
12
<div id="top">
19
13
<div id="titlearea">
20
14
<table cellspacing="0" cellpadding="0">
21
15
 <tbody>
22
16
 <tr style="height: 56px;">
23
 
  
24
 
  
25
17
  <td style="padding-left: 0.5em;">
26
 
   <div id="projectname">SimGrid
27
 
   &#160;<span id="projectnumber">3.7</span>
28
 
   </div>
 
18
   <div id="projectname">SimGrid&#160;<span id="projectnumber">3.7.1</span></div>
29
19
   <div id="projectbrief">Scalable simulation of distributed systems</div>
30
20
  </td>
31
 
  
32
 
  
33
 
  
34
21
 </tr>
35
22
 </tbody>
36
23
</table>
37
24
</div>
38
 
 
39
 
<!-- Generated by Doxygen 1.7.6.1 -->
40
25
  <div id="navrow1" class="tabs">
41
26
    <ul class="tablist">
42
27
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
65
50
  <li> <a href="group__API__index.html"><span>Full Index</span></a></li>
66
51
  <li class="current"> <a href="group__XBT__API.html"><span>XBT</span></a></li>
67
52
  <li> <a href="group__MSG__API.html"><span>MSG</span></a></li>
 
53
  <li> <a href="group__SIMIX__API.html"><span>SIMIX</span></a></li>
68
54
  <li> <a href="group__GRAS__API.html"><span>GRAS</span></a></li>
69
55
  <li> <a href="group__AMOK__API.html"><span>AMOK</span></a></li>
70
56
  <li> <a href="group__SMPI__API.html"><span>SMPI</span></a></li>
105
91
<a href="#func-members">Functions</a>  </div>
106
92
  <div class="headertitle">
107
93
<div class="title">Mallocator constructor and destructor</div>  </div>
108
 
<div class="ingroups"><a class="el" href="group__XBT__mallocator.html">Mallocators</a></div></div><!--header-->
 
94
<div class="ingroups"><a class="el" href="group__XBT__mallocator.html">Mallocators</a></div></div>
109
95
<div class="contents">
110
96
<table class="memberdecls">
111
97
<tr><td colspan="2"><h2><a name="typedef-members"></a>
126
112
<div class="memproto">
127
113
      <table class="memname">
128
114
        <tr>
129
 
          <td class="memname"><a class="el" href="group__XBT__mallocator__cons.html#gab949b93743d06b31bbdf3828d34a72ac">xbt_mallocator_t</a> <a class="el" href="group__XBT__mallocator__cons.html#ga31b8b348c6b44d730c915c5442a64637">xbt_mallocator_new</a> </td>
 
115
          <td class="memname"><a class="el" href="group__XBT__mallocator__cons.html#gab949b93743d06b31bbdf3828d34a72ac">xbt_mallocator_t</a> xbt_mallocator_new </td>
130
116
          <td>(</td>
131
117
          <td class="paramtype">int&#160;</td>
132
118
          <td class="paramname"><em>size</em>, </td>
159
145
<div class="memdoc">
160
146
 
161
147
<p>Constructor. </p>
162
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
148
<dl><dt><b>Parameters:</b></dt><dd>
163
149
  <table class="params">
164
150
    <tr><td class="paramname">size</td><td>size of the internal stack: number of objects the mallocator will be able to store </td></tr>
165
151
    <tr><td class="paramname">new_f</td><td>function to allocate a new object of your datatype, called in <em><a class="el" href="group__XBT__mallocator__objects.html#ga3e52409c5b24294ef98367b56cad4c7b" title="Extract an object from a mallocator.">xbt_mallocator_get()</a></em> when the mallocator is empty </td></tr>
179
165
<div class="memproto">
180
166
      <table class="memname">
181
167
        <tr>
182
 
          <td class="memname">void <a class="el" href="group__XBT__mallocator__cons.html#gaa884a3ef269f0709b9b2e025708f2e95">xbt_mallocator_free</a> </td>
 
168
          <td class="memname">void xbt_mallocator_free </td>
183
169
          <td>(</td>
184
170
          <td class="paramtype"><a class="el" href="group__XBT__mallocator__cons.html#gab949b93743d06b31bbdf3828d34a72ac">xbt_mallocator_t</a>&#160;</td>
185
171
          <td class="paramname"><em>m</em></td><td>)</td>
190
176
<div class="memdoc">
191
177
 
192
178
<p>Destructor. </p>
193
 
<dl class="params"><dt><b>Parameters:</b></dt><dd>
 
179
<dl><dt><b>Parameters:</b></dt><dd>
194
180
  <table class="params">
195
181
    <tr><td class="paramname">m</td><td>the mallocator you want to destroy</td></tr>
196
182
  </table>
201
187
 
202
188
</div>
203
189
</div>
204
 
</div><!-- contents -->
 
190
</div>
205
191
<p>
206
192
<hr>
207
193
 
212
198
Back to the main Simgrid Documentation page</b></a>
213
199
</td>
214
200
<td align=middle>
215
 
<small>The version of <a href="http://simgrid.gforge.inria.fr">SimGrid</a> documented here is v3.7.<br/>
 
201
<small>The version of <a href="http://simgrid.gforge.inria.fr">SimGrid</a> documented here is v3.7.1.<br/>
216
202
Documentation of other versions can be found in their respective
217
203
archive files (directory doc/html).
218
204
</td>