printstate.h 402 Bytes
Newer Older
Martin Schläffer committed
1 2 3
#ifndef PRINTSTATE_H_
#define PRINTSTATE_H_

Enrico Pozzobon committed
4
#ifdef ASCON_PRINTSTATE
Martin Schläffer committed
5

Enrico Pozzobon committed
6 7
#include "ascon.h"
#include "word.h"
Martin Schläffer committed
8

Enrico Pozzobon committed
9 10
void printword(const char* text, const word_t x);
void printstate(const char* text, const state_t* s);
Martin Schläffer committed
11

Enrico Pozzobon committed
12
#else
Martin Schläffer committed
13

Enrico Pozzobon committed
14 15 16
#define printword(text, w) \
  do {                     \
  } while (0)
Martin Schläffer committed
17

Enrico Pozzobon committed
18 19 20
#define printstate(text, s) \
  do {                      \
  } while (0)
Martin Schläffer committed
21 22 23 24

#endif

#endif /* PRINTSTATE_H_ */