Skip to content
Snippets Groups Projects
  1. Feb 16, 2022
  2. Jan 05, 2022
  3. Oct 31, 2021
  4. Oct 21, 2021
  5. Oct 18, 2021
  6. Oct 06, 2021
    • Emmanuele Bassi's avatar
      Merge branch 'issue-110' into 'main' · 261d2977
      Emmanuele Bassi authored
      gir: Identify type/gpointer types
      
      Closes #110
      
      See merge request GNOME/gi-docgen!112
      261d2977
    • Emmanuele Bassi's avatar
      gir: Identify type/gpointer types · a3f041b5
      Emmanuele Bassi authored
      When using out/in-out arguments in signals, the C type assigned is
      derived from G_TYPE_POINTER (so: gpointer), but the type name is
      typically overridden via a (type) annotation. This produces type
      definitions like:
      
          <type name="gint" c:type="gpointer"/>
      
      Since the C type is gpointer, we use the type name when looking up the
      ast.Type in the GIR parser, and that usually ends up giving use a type
      for the integral type, instead of a proper pointer type.
      
      To avoid that, we check if the type definition takes a generic pointer
      as the C type, and the type name is an integral type, and tweak the
      query parameters for the types LUT.
      
      Fixes: #110
      a3f041b5
  7. Oct 04, 2021
  8. Sep 29, 2021
  9. Sep 27, 2021
  10. Sep 26, 2021
  11. Sep 25, 2021
  12. Sep 16, 2021
Loading