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

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Arrays.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2008-06-17 09:18:10 UTC
  • mfrom: (1.2.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617091810-y0i0b97lp9jhsbvu
Tags: 2.17.2-1
* New upstream development release, the new API might still change:
  + debian/rules,
    debian/libglib2.0-0.symbols:
    - Updated for the new symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Arrays</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GLib Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
9
9
<link rel="prev" href="glib-String-Chunks.html" title="String Chunks">
10
10
<link rel="next" href="glib-Pointer-Arrays.html" title="Pointer Arrays">
26
26
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
27
27
<link rel="index" href="ix09.html" title="Index of new symbols in 2.14">
28
28
<link rel="index" href="ix10.html" title="Index of new symbols in 2.16">
 
29
<link rel="index" href="ix11.html" title="Index of new symbols in 2.18">
29
30
</head>
30
31
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
31
32
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
123
124
To free an array, use <a class="link" href="glib-Arrays.html#g-array-free" title="g_array_free ()"><code class="function">g_array_free()</code></a>.
124
125
</p>
125
126
<div class="example">
126
 
<a name="id3504034"></a><p class="title"><b>Example 19. Using a <span class="structname">GArray</span> to store <span class="type">gint</span> values</b></p>
 
127
<a name="id3207701"></a><p class="title"><b>Example 19. Using a <span class="structname">GArray</span> to store <span class="type">gint</span> values</b></p>
127
128
<div class="example-contents"><pre class="programlisting">
128
129
  GArray *garray;
129
130
  gint i;
690
691
 
691
692
</p>
692
693
<div class="example">
693
 
<a name="id3506076"></a><p class="title"><b>Example 20. Getting a pointer to an element in a <span class="structname">GArray</span></b></p>
 
694
<a name="id3209743"></a><p class="title"><b>Example 20. Getting a pointer to an element in a <span class="structname">GArray</span></b></p>
694
695
<div class="example-contents"><pre class="programlisting">
695
696
  EDayViewEvent *event;
696
697