mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
fpi-context: Make fpi_get_driver_types to return an array
No need to create one all the times and the fill it with what we need.
This commit is contained in:
@@ -23,11 +23,12 @@
|
||||
|
||||
/**
|
||||
* fpi_get_driver_types:
|
||||
* @drivers: #GArray to be filled with all driver types
|
||||
*
|
||||
* This function is purely for private used. It is solely part of the public
|
||||
* API as it is useful during build time.
|
||||
*
|
||||
* Stability: private
|
||||
* Returns: (element-type GType) (transfer container): a #GArray filled with
|
||||
* all driver types
|
||||
*/
|
||||
void fpi_get_driver_types (GArray *drivers);
|
||||
GArray *fpi_get_driver_types (void);
|
||||
|
||||
Reference in New Issue
Block a user