]> sigrok.org Git - libsigrokdecode.git/blobdiff - instance.c
Only load and use PDs of API version 2.
[libsigrokdecode.git] / instance.c
index 64fed5347548e65c4b475472e9de0d4ef07d8e47..8a5ddef044b9c10823c549b8551c1fa633a6c05f 100644 (file)
@@ -28,7 +28,7 @@
 
 /** @cond PRIVATE */
 
-extern GSList *sessions;
+extern SRD_PRIV GSList *sessions;
 
 /* type_logic.c */
 extern SRD_PRIV PyTypeObject srd_logic_type;
@@ -192,7 +192,7 @@ static gint compare_channel_id(const struct srd_channel *pdch,
  *
  * @return SRD_OK upon success, a (negative) error code otherwise.
  *
- * @since 0.1.0
+ * @since 0.3.0
  */
 SRD_API int srd_inst_channel_set_all(struct srd_decoder_inst *di,
                GHashTable *new_channels, int unit_size)