Papageno
An Advanced Pattern Matching Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Typedefs
ppg_input.h File Reference
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define PPG_INPUTS(...)
 Auxiliary macro to simplify passing input arrays to functions such as ppg_cluster or ppg_chord. More...
 

Typedefs

typedef uint8_t PPG_Input_Id
 The type used as input identifier. More...
 

Macro Definition Documentation

#define PPG_INPUTS (   ...)
Value:
sizeof((PPG_Input_Id[]){ __VA_ARGS__ })/sizeof(PPG_Input_Id), \
\
/* The following akward construnct serves to silence the compiler warning \
* error: taking address of temporary array \
*/ \
(PPG_Input_Id*)(const PPG_Input_Id[]){ __VA_ARGS__ }
uint8_t PPG_Input_Id
The type used as input identifier.
Definition: ppg_input.h:29

Auxiliary macro to simplify passing input arrays to functions such as ppg_cluster or ppg_chord.

Parameters
...The array members

Typedef Documentation

typedef uint8_t PPG_Input_Id

The type used as input identifier.

This type is used as an identifier for inputs. Inputs must be numbered contiguously.