Module ffi

Source
Expand description

The code in this module allows to call libxcb’s C functions.

At its heart, this module only contains an extern "C" block that defines the C functions so that they can be called from Rust.

However, this module also contains the implementation of the dl-libxcb features. When this future is enabled, we do not link against libxcb, but instead use libloading to load libxcb.so at runtime. Most of the code is actually responsible for this later feature.

ModulesΒ§

libxcb_library πŸ”’

MacrosΒ§

make_ffi_fn_defs πŸ”’

StructsΒ§

LibxcbFuncs πŸ”’

FunctionsΒ§

xcb_connect πŸ”’ ⚠
xcb_connection_has_error πŸ”’ ⚠
xcb_discard_reply64 πŸ”’ ⚠
xcb_disconnect πŸ”’ ⚠
xcb_flush πŸ”’ ⚠
xcb_generate_id πŸ”’ ⚠
xcb_get_file_descriptor πŸ”’ ⚠
xcb_get_maximum_request_length πŸ”’ ⚠
xcb_get_setup πŸ”’ ⚠
xcb_poll_for_event πŸ”’ ⚠
xcb_poll_for_reply64 πŸ”’ ⚠
xcb_prefetch_maximum_request_length πŸ”’ ⚠
xcb_request_check πŸ”’ ⚠
xcb_send_request64 πŸ”’ ⚠
xcb_send_request_with_fds64 πŸ”’ ⚠
xcb_wait_for_event πŸ”’ ⚠
xcb_wait_for_reply64 πŸ”’ βš