mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
meson: Include fpi-context.h in generated fp-drivers.c
This commit is contained in:
@@ -118,6 +118,7 @@ endforeach
|
|||||||
|
|
||||||
# Export the drivers' types to the core code
|
# Export the drivers' types to the core code
|
||||||
drivers_type_list = '#include <glib-object.h>\n'
|
drivers_type_list = '#include <glib-object.h>\n'
|
||||||
|
drivers_type_list += '#include "fpi-context.h"\n'
|
||||||
drivers_type_func = 'void fpi_get_driver_types(GArray *drivers)\n{\n\tGType t;\n'
|
drivers_type_func = 'void fpi_get_driver_types(GArray *drivers)\n{\n\tGType t;\n'
|
||||||
foreach driver: drivers
|
foreach driver: drivers
|
||||||
drivers_type_list += 'extern GType (fpi_device_' + driver + '_get_type) (void);\n'
|
drivers_type_list += 'extern GType (fpi_device_' + driver + '_get_type) (void);\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user