From c259726a161411a7fe955dd139fce374635ddf7c Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 30 Jul 2012 00:22:26 +0200 Subject: [PATCH] sr: driver struct gets a more generic *priv instead of GSList *instances It's up to the driver to keep its GSList of struct sr_dev_inst * in there. Anything else the driver wants to keep driver-global should also go in there, such as libusb_context. --- libsigrok.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsigrok.h b/libsigrok.h index 31a38c80..eda16c21 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -500,7 +500,7 @@ struct sr_dev_driver { void *cb_data); /* Dynamic */ - GSList *instances; + void *priv; }; struct sr_session {