[ Josselin Mouette ] * Require libelfg0-dev, not libelf-dev which has nothing to do with it.
[ Iain Lane ] * New upstream release + GTimeZone support for zoneinfo version 1 + Leak in glib-compile-resources + g_settings_bind: use canonical property name + Port gio tests from pygobject to pygi * Switch python-gobject-2 BD to python-gi, folowing porting of tests. * debian/patches/50_git_gmenuexporter_allow_null_bus_on_name_vanished.patch: Cherry-pick upstream patch to fix crash when GBusNameVanishedCallback is called with a NULL GDBusConnection. (LP: #1044322)
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tries to be quite efficient with respect to memory use.
305
305
This section gives a rough idea of how much memory is used by the
381
381
</p>
382
382
</div>
383
383
<div class="refsect3">
384
<a name="idp61895520"></a><h4>Type Information Cache</h4>
384
<a name="idp61825824"></a><h4>Type Information Cache</h4>
385
385
<p>
386
386
For each GVariant type that currently exists in the program a type
387
387
information structure is kept in the type information cache. The
The size of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure is 6 * (void *). On 32 bit
458
458
systems, that's 24 bytes.
477
477
</p>
478
478
</div>
479
479
<div class="refsect3">
480
<a name="idp61917792"></a><h4>Summary</h4>
480
<a name="idp61848096"></a><h4>Summary</h4>
481
481
<p>
482
482
To put the entire example together, for our dictionary mapping
483
483
strings to variants (with two entries, as given above), we are
<td>a basic-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVariant]</span>
864
<td>a basic-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance of the same type. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVariant]</span>
869
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance of the same type. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
<td>a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> value as a <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVariant]</span>
3665
<td>a basic <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> value as a <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVariant]</span>
3697
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GVariant]</span>
3702
<td>a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GVariant]</span>