I am very new to xcb, so I don't really know what I'm talking about. But in the xcb.h header file, the documentation for xcb_connect() says
* Always returns a non-NULL pointer to a xcb_connection_t, even on failure.
* Callers need to use xcb_connection_has_error() to check for failure.
In conn.zig, we have connect() checking for null values, but xcb_connection_has_error() is nowhere to be seen. Am I missing something?
I am very new to xcb, so I don't really know what I'm talking about. But in the
xcb.hheader file, the documentation forxcb_connect()saysIn
conn.zig, we haveconnect()checking for null values, butxcb_connection_has_error()is nowhere to be seen. Am I missing something?