~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/gobject-Value-arrays.html

  • Committer: Package Import Robot
  • Author(s): Iain Lane, Laurent Bigonville, Iain Lane
  • Date: 2015-01-20 13:46:28 UTC
  • mfrom: (207.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20150120134628-b6muiofhl885twuy
Tags: 2.43.3-1
[ Laurent Bigonville ]
* debian/control.in, debian/libglib2.0-dev.install.in,
  debian/libglib2.0-0-dbg.install.in: Install the gdb python scripts in the
  proper locations, move them to the -dbg package and add the needed
  Breaks/Replaces (Closes: #774024)

[ Iain Lane ]
* New upstream release 2.43.3
  + add g_set_object() convenience function
  + GNetworkMonitor: check if NM is not running and don't crash
  + fix some races with g_mkdir_with_parents
  + avoid use of G_STRLOC in G_OBJECT_WARN_INVALID_PSPEC in order to save on
    static strings
  + fix some content type vs. mime issues
* 07_disable_tests_on_slow_archs.patch: Refresh

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="rn01.html" title="API Reference">
9
9
<link rel="prev" href="gobject-Closures.html" title="Closures">
10
10
<link rel="next" href="GBinding.html" title="GBinding">
11
 
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
157
157
    <tbody>
158
158
      <tr>
159
159
        <td class="listing_lines" align="right"><pre>1</pre></td>
160
 
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GValueArray</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">array </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-Value-arrays.html#g-value-array-new">g_value_array_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">10</span><span class="symbol">);</span></pre></td>
 
160
        <td class="listing_code"><pre class="programlisting">GValueArray <span class="gtkdoc opt">*</span>array <span class="gtkdoc opt">=</span> <span class="function"><a href="gobject-Value-arrays.html#g-value-array-new">g_value_array_new</a></span> <span class="gtkdoc opt">(</span><span class="number">10</span><span class="gtkdoc opt">);</span></pre></td>
161
161
      </tr>
162
162
    </tbody>
163
163
  </table>
171
171
      <tr>
172
172
        <td class="listing_lines" align="right"><pre>1
173
173
2</pre></td>
174
 
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GArray</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">array </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Arrays.html#g-array-sized-new">g_array_sized_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="keyword">sizeof</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gobject-Generic-values.html#GValue">GValue</a></span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
175
 
<span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Arrays.html#g-array-set-clear-func">g_array_set_clear_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">array</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> <a href="gobject-Generic-values.html#g-value-unset">g_value_unset</a></span><span class="symbol">);</span></pre></td>
 
174
        <td class="listing_code"><pre class="programlisting">GArray <span class="gtkdoc opt">*</span>array <span class="gtkdoc opt">=</span> <span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Arrays.html#g-array-sized-new">g_array_sized_new</a></span> <span class="gtkdoc opt">(</span>FALSE<span class="gtkdoc opt">,</span> TRUE<span class="gtkdoc opt">,</span> <span class="keyword">sizeof</span> <span class="gtkdoc opt">(</span>GValue<span class="gtkdoc opt">),</span> <span class="number">10</span><span class="gtkdoc opt">);</span>
 
175
<span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Arrays.html#g-array-set-clear-func">g_array_set_clear_func</a></span> <span class="gtkdoc opt">(</span>array<span class="gtkdoc opt">, (</span>GDestroyNotify<span class="gtkdoc opt">)</span> g_value_unset<span class="gtkdoc opt">);</span></pre></td>
176
176
      </tr>
177
177
    </tbody>
178
178
  </table>
639
639
</div>
640
640
<div class="footer">
641
641
<hr>
642
 
          Generated by GTK-Doc V1.21.1</div>
 
642
          Generated by GTK-Doc V1.21</div>
643
643
</body>
644
644
</html>
 
 
b'\\ No newline at end of file'