From 20c70c128ffc3afdd77e9eb0c9c57598dc0002f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 25 Dec 2017 23:29:45 +0100 Subject: [PATCH] added boid* priv to GexUnit --- gex/gex_defines.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gex/gex_defines.h b/gex/gex_defines.h index 505cb3a..0297a62 100644 --- a/gex/gex_defines.h +++ b/gex/gex_defines.h @@ -45,6 +45,7 @@ struct gex_unit { char *type; //!< Unit type (loaded, malloc'd) uint8_t callsign; //!< Unit callsign GexEventListener report_handler; //!< Report handling function + void *priv; //!< Place for unit driver private struct (for use with support library packages) struct gex_unit *next; //!< Pointer to the next entry in this linked list, or NULL if none };