Commits on Source (9)
-
Emmanuele Bassi authored9e98c462
-
Philip Chimento authored
This adds gi_type_tag_argument_from_hash_pointer() and gi_type_tag_hash_pointer_from_argument(). They do the same thing as the corresponding g_type_info_... functions, which are used to pack and unpack the correct field of a GIArgument into/from a data pointer in GHashTable or GList, regardless of machine architecture or endianness. These functions take a GITypeTag obtained from g_type_info_get_storage_type(), instead of a GITypeInfo pointer. (The storage type is the only piece of data that is actually used from the GITypeInfo structure.) It's intended for bindings using an argument cache, such as GJS and PyGObject, so that they don't have to store a whole 64-bit GITypeInfo pointer in their cache in many common cases, and can just store the 5-bit type tag instead. The original g_type_info_... functions are reimplemented in terms of the new g_type_tag... functions.
649905fc -
Emmanuele Bassi authored
The main development branch of GObject Introspection is now called "main", following the change in GLib and GTK.
3e602df9 -
Emmanuele Bassi authored
We don't use Autotools, and we don't generate files inside the source directory any more.
fdee85e2 -
This is based on f61187428eaff51b5aae121df1615e02117ef44f.
c887488a -
Emmanuele Bassi authored
It seems that optparse might just ignore storing options without a default. In this case, the `--compiler` option should be initialised to `None`, but instead it just gets ignored. Without the `hasattr()` check, updating the introspection data for GLib fails with a Python backtrace.
1ed00633 -
Emmanuele Bassi authored
GLib 2.72.0 is now out.
f648a558 -
Emmanuele Bassi authoredc1ce7d17
-
Simon McVittie authoredf3896429
This diff is collapsed.
This diff is collapsed.