X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=instance.c;h=8a5ddef044b9c10823c549b8551c1fa633a6c05f;hb=refs%2Fheads%2Flibsigrokdecode-0.3.x;hp=dd943ee774e89f39afe5d41368f75494b710399a;hpb=6a15597a7b3f901b566b7bfc8c484a14e0fb6a11;p=libsigrokdecode.git diff --git a/instance.c b/instance.c index dd943ee..8a5ddef 100644 --- a/instance.c +++ b/instance.c @@ -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) @@ -204,8 +204,8 @@ SRD_API int srd_inst_channel_set_all(struct srd_decoder_inst *di, int *new_channelmap, new_channelnum, num_required_channels, i; char *channel_id; - srd_dbg("set channels called for instance %s with list of %d channels", - di->inst_id, g_hash_table_size(new_channels)); + srd_dbg("Setting channels for instance %s with list of %d channels, " + "unitsize %d.", di->inst_id, g_hash_table_size(new_channels), unit_size); if (g_hash_table_size(new_channels) == 0) /* No channels provided. */