Function
FwupdPlugincommon_align_up
since: 1.6.0
Declaration [src]
gsize
fu_common_align_up (
gsize value,
guint8 alignment
)
Description [src]
Align a value to a power of 2 boundary, where alignment is the bit position
to align to. If alignment is zero then value is always returned unchanged.
Available since: 1.6.0