Mike Wey wrote: > With GtkD we define a function that returns an empty string or one > containing __gshared depending on the dmd version, and then mixes that > in with the function pointers Thank you, that is an interesting option.