On Sunday, 20 March 2016 at 00:52:48 UTC, Alex Parrill wrote:
If I import a xcb_connection_t from some bindings,
it ties d-vulkan to those bindings, which I'd rather not do.

By the magic of D:

version (Linux)
{
    import xcb.xcb;
}

...

version (Linux)
{
    xcb_connection_t* con;
}

Also you can make xcb-d dependency optional in DUB.

Reply via email to