summaryrefslogtreecommitdiff
path: root/include/tinyff/common.h
blob: 1fc4efb9e6e577adc09a1c73da1d8c4a61a1528d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Common header for tinyff library
// Not recommended to be included directly
#ifndef TINYFF_COMMON_H
#define TINYFF_COMMON_H

#include <stdint.h>

// Flags
typedef bool ff_flag;

#define FF_ENABLE   true
#define FF_DISABLE  false

// Functions

static inline uint32_t get_big_endian(const uint8_t *buffer);

#endif