lib: Change "unsigned" to "unsigned int"

To appease gtk-doc's struct parser, which chokes on the short name for
the data type.

See https://gitlab.gnome.org/GNOME/gtk-doc/issues/63
This commit is contained in:
Bastien Nocera 2018-11-09 14:20:19 +01:00
parent 6c6daaa619
commit 2365c608f9

View file

@ -29,13 +29,13 @@ struct fpi_frame {
}; };
struct fpi_frame_asmbl_ctx { struct fpi_frame_asmbl_ctx {
unsigned frame_width; unsigned int frame_width;
unsigned frame_height; unsigned int frame_height;
unsigned image_width; unsigned int image_width;
unsigned char (*get_pixel)(struct fpi_frame_asmbl_ctx *ctx, unsigned char (*get_pixel)(struct fpi_frame_asmbl_ctx *ctx,
struct fpi_frame *frame, struct fpi_frame *frame,
unsigned x, unsigned int x,
unsigned y); unsigned int y);
}; };
void fpi_do_movement_estimation(struct fpi_frame_asmbl_ctx *ctx, void fpi_do_movement_estimation(struct fpi_frame_asmbl_ctx *ctx,
@ -45,16 +45,16 @@ struct fp_img *fpi_assemble_frames(struct fpi_frame_asmbl_ctx *ctx,
GSList *stripes, size_t stripes_len); GSList *stripes, size_t stripes_len);
struct fpi_line_asmbl_ctx { struct fpi_line_asmbl_ctx {
unsigned line_width; unsigned int line_width;
unsigned max_height; unsigned int max_height;
unsigned resolution; unsigned int resolution;
unsigned median_filter_size; unsigned int median_filter_size;
unsigned max_search_offset; unsigned int max_search_offset;
int (*get_deviation)(struct fpi_line_asmbl_ctx *ctx, int (*get_deviation)(struct fpi_line_asmbl_ctx *ctx,
GSList *line1, GSList *line2); GSList *line1, GSList *line2);
unsigned char (*get_pixel)(struct fpi_line_asmbl_ctx *ctx, unsigned char (*get_pixel)(struct fpi_line_asmbl_ctx *ctx,
GSList *line, GSList *line,
unsigned x); unsigned int x);
}; };
struct fp_img *fpi_assemble_lines(struct fpi_line_asmbl_ctx *ctx, struct fp_img *fpi_assemble_lines(struct fpi_line_asmbl_ctx *ctx,