~ubuntu-branches/ubuntu/intrepid/glib2.0/intrepid

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Memory-Chunks.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-09-03 00:51:29 UTC
  • mfrom: (1.2.47 upstream)
  • Revision ID: james.westby@ubuntu.com-20080903005129-cuvzg72uin744gd6
Tags: 2.18.0-1
* New upstream stable release, with API addition.
  - Update symbols file for new g_object_get_type() symbol and drop
    g_slice_debug_tree_statistics() which shouldn't have been exported in
    the first place.
  - Refresh patches 01_gettext-desktopfiles,
    02_usr_share_gnome_applications, and 03_blacklist-directories to apply
    cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
To help debug memory chunks, use <a class="link" href="glib-Memory-Chunks.html#g-mem-chunk-info" title="g_mem_chunk_info ()"><code class="function">g_mem_chunk_info()</code></a> and <a class="link" href="glib-Memory-Chunks.html#g-mem-chunk-print" title="g_mem_chunk_print ()"><code class="function">g_mem_chunk_print()</code></a>.
140
140
</p>
141
141
<div class="example">
142
 
<a name="id3120328"></a><p class="title"><b>Example 17. Using a <span class="structname">GMemChunk</span></b></p>
 
142
<a name="id3235690"></a><p class="title"><b>Example 17. Using a <span class="structname">GMemChunk</span></b></p>
143
143
<div class="example-contents"><pre class="programlisting">
144
144
  GMemChunk *mem_chunk;
145
145
  gchar *mem[10000];
172
172
</pre></div>
173
173
</div>
174
174
<br class="example-break"><div class="example">
175
 
<a name="id3120372"></a><p class="title"><b>Example 18. Using a <span class="structname">GMemChunk</span> with data structures</b></p>
 
175
<a name="id3235734"></a><p class="title"><b>Example 18. Using a <span class="structname">GMemChunk</span> with data structures</b></p>
176
176
<div class="example-contents"><pre class="programlisting">
177
177
  GMemChunk *array_mem_chunk;
178
178
  GRealArray *array;