Skip to content
Snippets Groups Projects
  1. Sep 09, 2019
  2. Sep 25, 2017
  3. Jun 30, 2017
  4. Jun 28, 2017
    • Colin Walters's avatar
      macros: Avoid scanning macros · 71d87554
      Colin Walters authored
      `g-ir-scanner` is confused by some of the syntax extensions in `G_IN_SET()`;
      none of this is applicable to bindings, so just skip it.
      71d87554
    • Jonathan Lebon's avatar
      macros: add GLNX_HASH_TABLE_FOREACH_V · 5ab15ac1
      Jonathan Lebon authored
      Looking at converting the ostree codebase, iterating over only the
      values of a hash table (while ignoring the key) is actually a more
      common pattern than I thought. So let's give it its own macro as well so
      users don't have to resort to the _KV variant.
      5ab15ac1
  5. Jun 17, 2017
  6. Jun 14, 2017
    • Colin Walters's avatar
      Add G_IN_SET, patch our internal users via spatch · 9a1b77ef
      Colin Walters authored
      I originally tried to get this into GLib:
      https://bugzilla.gnome.org/show_bug.cgi?id=783751
      
      But that looks like it's going to fail due to MSVC. Let's add it here at least
      so I can start using it tomorrow and not wait for the MSVC team to catch up.
      
      I renamed `glnx-alloca.h` to `glnx-macros.h` as a more natural collective
      home for things from systemd's `macro.h`.
      
      Finally, I used a Coccinelle spatch similar to the one referenced
      in the above BZ to patch our uses.
      9a1b77ef
Loading