Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
py_callback = callback;
wlr_log_init(verbosity, wrapped_log_callback);
}
}
"""
ffi_builder = FFI()
ffi_builder.set_source(
"wlroots._ffi",
SOURCE,
libraries=["wlroots"],
define_macros=[("WLR_USE_UNSTABLE", None)],
include_dirs=["/usr/include/pixman-1", "include"],
)
ffi_builder.include(pywayland_ffi)
ffi_builder.cdef(CDEF)
if __name__ == "__main__":
ffi_builder.compile()