meson: Fix syntax in the auto-generated fpi-drivers file
Better to be nice everywhere :)
This commit is contained in:
parent
6f2b1f97da
commit
8184e33dd6
1 changed files with 9 additions and 4 deletions
|
@ -155,10 +155,15 @@ drivers_type_func += 'void fpi_get_driver_types (GArray *drivers)'
|
|||
drivers_type_func += '{'
|
||||
drivers_type_func += ' GType t;'
|
||||
drivers_type_func += ''
|
||||
idx = 0
|
||||
foreach driver: drivers
|
||||
drivers_type_list += 'extern GType (fpi_device_' + driver + '_get_type) (void);'
|
||||
drivers_type_func += ' t = fpi_device_' + driver + '_get_type ();'
|
||||
drivers_type_func += ' g_array_append_val (drivers, t);\n'
|
||||
drivers_type_func += ' g_array_append_val (drivers, t);'
|
||||
if idx != drivers.length() - 1
|
||||
drivers_type_func += ''
|
||||
idx += 1
|
||||
endif
|
||||
endforeach
|
||||
drivers_type_list += ''
|
||||
drivers_type_func += '}'
|
||||
|
|
Loading…
Reference in a new issue