Add opaque structs forward declaration in libliftoff.h

This commit is contained in:
Simon Ser 2019-09-30 14:19:27 -04:00
parent fe1ee8563d
commit 3671a64ade
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -6,6 +6,10 @@
#include <stddef.h>
#include <xf86drmMode.h>
struct liftoff_display;
struct liftoff_output;
struct liftoff_layer;
/**
* Initialize libliftoff for a DRM node. The node is expected to have
* DRM_CLIENT_CAP_UNIVERSAL_PLANES and DRM_CLIENT_CAP_ATOMIC enabled.