From 00a6e1d29ad8dae2d769810b9af65c3934788487 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 12 Dec 2017 13:08:47 +0100 Subject: Reworking on the signature of PrintMethod --- include/gui/component.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/gui/component.h b/include/gui/component.h index d61b713..50aee63 100644 --- a/include/gui/component.h +++ b/include/gui/component.h @@ -21,7 +21,7 @@ typedef void (*ClickHandler)(int x_pos, int y_pos); * Type: PrintMethod * Type of functions that will be used to print our component. This must be initialized by the initialization function of the component. */ -typedef void (*PrintMethod)(void); +typedef void (*PrintMethod)(void*); /** * Struct: Component -- cgit v1.2.3