mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Link fp_dev to fp_img_dev and back
So it's easy to switch between the 2 structs, and remove fp_img_dev->dev direct access, as well as fp_dev->priv "user data" usage.
This commit is contained in:
@@ -26,3 +26,6 @@ struct fp_dev;
|
||||
* appropriate functions.
|
||||
*/
|
||||
struct fp_img_dev;
|
||||
|
||||
struct fp_dev *FP_DEV (struct fp_img_dev *dev);
|
||||
struct fp_img_dev *FP_IMG_DEV (struct fp_dev *dev);
|
||||
|
||||
Reference in New Issue
Block a user