-
Notifications
You must be signed in to change notification settings - Fork 7
/
ring_test.h
45 lines (43 loc) · 1.7 KB
/
ring_test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef RING_TEST_H
#define RING_TEST_H
// *****************************************************************************
// ring_test.h Recorder project
// *****************************************************************************
//
// File description:
//
// Header for ring_test.c
//
//
//
//
//
//
//
//
// *****************************************************************************
// This software is licensed under the GNU Lesser General Public License v2+
// (C) 2017-2020, Christophe de Dinechin <[email protected]>
// *****************************************************************************
// This file is part of Recorder
//
// Recorder is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// Recorder is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with Recorder, in a file named COPYING.
// If not, see <https://www.gnu.org/licenses/>.
// *****************************************************************************
// Place these declaration in a header to avoid clang warnings
#define RECORDER_RING(Name, Type, Size) \
RECORDER_RING_DECLARE(Name, Type, Size) \
RECORDER_RING_DEFINE (Name, Type, Size)
RECORDER_RING(buffer, char, 1024);
#endif