On Tue, 17 Oct 2023 19:17:22 +0200, Mike Wey wrote:

On 17-10-2023 01:42, dan hitt wrote:

So, are there any pre-initialization hooks in gtkd that i can assign
that will be guaranteed to be called before any serious initialization
is run (especially before any shared libraries are loaded)?

GtkD loads the libraries in the static constructors, and doesn't provide
a way to anything before that other than what D itself provides with
pragma crt_constructor.