2 * UDI Driver Helper Macros
6 #ifndef _HELPERS_GFX_H_
7 #define _HELPERS_GFX_H_
9 #if __STDC_VERSION__ < 199901L
22 const gfxhelpers_op_t *ops;
23 } gfxhelpers_op_map_t;
25 static inline void gfxhelpers_return_range_simple(
26 udi_gfx_range_connector_ack_op_t *callback, udi_gfx_range_cb_t *cb,
27 udi_ubit32_t min, udi_ubit32_t max, udi_ubit32_t step
33 static inline void gfxhelpers_return_range_set(
34 udi_gfx_range_connector_ack_op_t *callback, udi_gfx_range_cb_t *cb,
35 udi_ubit32_t count, ...
41 static inline void gfxhelpers_return_range_fixed(
42 udi_gfx_range_connector_ack_op_t *callback, udi_gfx_range_cb_t *cb,
46 gfxhelpers_return_range_simple(callback, cb, value, value, 1);