Commit 78b8602c authored by Bastien Nocera's avatar Bastien Nocera

lib: Make fp_minutia an opaque structure

Nothing uses the elements of the structure, so make it opaque.
parent 83a0a768
......@@ -368,6 +368,21 @@ gboolean fpi_print_data_compatible(uint16_t driver_id1, uint32_t devtype1,
enum fp_print_data_type type1, uint16_t driver_id2, uint32_t devtype2,
enum fp_print_data_type type2);
struct fp_minutia {
int x;
int y;
int ex;
int ey;
int direction;
double reliability;
int type;
int appearing;
int feature_id;
int *nbrs;
int *ridge_counts;
int num_nbrs;
};
struct fp_minutiae {
int alloc;
int num;
......
......@@ -347,22 +347,10 @@ uint32_t fp_print_data_get_devtype(struct fp_print_data *data);
/**
* fp_minutia:
*
* FIXME
* #fp_minutia is an opaque structure type. You must access it using the
* functions below.
*/
struct fp_minutia {
int x;
int y;
int ex;
int ey;
int direction;
double reliability;
int type;
int appearing;
int feature_id;
int *nbrs;
int *ridge_counts;
int num_nbrs;
};
struct fp_minutia;
int fp_img_get_height(struct fp_img *img);
int fp_img_get_width(struct fp_img *img);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment