/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrokdecode project.
*
* Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "sigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
+#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
#include "config.h"
#include <inttypes.h>
#include <string.h>
static PyObject *srd_logic_iternext(PyObject *self)
{
- int i;
- PyObject *py_samplenum, *py_samples;
srd_logic *logic;
+ PyObject *py_samplenum, *py_samples;
uint64_t sample;
uint8_t probe_samples[SRD_MAX_NUM_PROBES + 1];
+ int i;
logic = (srd_logic *)self;
if (logic->itercnt >= logic->inbuflen / logic->di->data_unitsize) {