pthread_t usages lack type name
In the generated GIR file from the nightly sdk of GLib, there are now the following types (docs removed)
<record name="StaticRecMutex" c:type="GStaticRecMutex" introspectable="0">
<field name="mutex" readable="0" private="1">
<type name="StaticMutex" c:type="GStaticMutex"/>
</field>
<field name="depth" readable="0" private="1">
<type name="guint" c:type="guint"/>
</field>
<union name="unused" c:type="unused">
<field name="owner" writable="1">
<type c:type="pthread_t"/>
</field>
<field name="dummy" writable="1">
<type name="gdouble" c:type="gdouble"/>
</field>
</union>
<record name="StaticMutex" c:type="GStaticMutex" introspectable="0">
<field name="mutex" writable="1">
<type name="Mutex" c:type="GMutex*"/>
</field>
<field name="unused" writable="1">
<type c:type="pthread_mutex_t"/>
</field>
As you can see, the pthread_t
and / pthread_mutex_t
don't have a type name,should those fields be annotated with (type gpointer)
?
Edited by Bilal Elmoussaoui