Varargs issue with LDC

Steven Schveighoffer schveiguy at gmail.com
Wed Jan 31 20:01:51 UTC 2024


On Wednesday, 31 January 2024 at 18:11:43 UTC, Johan wrote:
>
> Did you check that the D type of `g_type_string/boolean` 
> matches the size of the type of the C constants? (`GType` which 
> is `unsigned long` in C, 
> https://codebrowser.dev/gtk/gtk/subprojects/glib/gobject/gtype.h.html#383)


gtkd project uses `size_t`

https://github.com/gtkd-developers/GtkD/blob/17d7dc25e1adc9b86aff381b950f21706118ebeb/generated/gtkd/gobject/c/types.d#L51

-Steve


More information about the Digitalmars-d mailing list