libfprint: Use a macro to easily compute TOD padding

This commit is contained in:
Marco Trevisan (Treviño)
2021-10-31 22:22:56 +01:00
parent ec8a9ba0fd
commit 608a9f10df
13 changed files with 68 additions and 42 deletions
+3 -1
View File
@@ -22,6 +22,8 @@
#include <glib.h>
#include <glib-object.h>
#include "tod/tod-macros.h"
typedef struct _FpImage FpImage;
typedef struct _FpImageTODV1_90_1 FpImageTODV1_90_1;
@@ -58,5 +60,5 @@ struct _FpImageTODV1_90_1
GPtrArray *minutiae;
guint ref_count;
gpointer _padding_dummy[32];
TOD_PADDING (32, 0);
};