* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
-#include "libsigrokdecode-internal.h"
+#include "libsigrokdecode-internal.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
+#include "libsigrokdecode.h"
#include "config.h"
#include <glib.h>
#include <inttypes.h>
/** @cond PRIVATE */
-extern GSList *sessions;
+extern SRD_PRIV GSList *sessions;
/* type_logic.c */
extern SRD_PRIV PyTypeObject srd_logic_type;
*
* @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)
int *new_channelmap, new_channelnum, num_required_channels, i;
char *channel_id;
- srd_dbg("set channels called for instance %s with list of %d probes, "
- "unitsize %d", di->inst_id, g_hash_table_size(new_channels), unit_size);
+ 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. */