I want to wrap a couple of C functions that take a cairo_t* as an argument. But in the gtkd cairo.Context class, that pointer is protected, and DMD seems to do a pretty good job at protection.

How do I work round that?