LMMS
Loading...
Searching...
No Matches
rtosc-version.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 Johannes Lorenz
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 */
24
30
31#ifndef RTOSC_VERSION_H
32#define RTOSC_VERSION_H
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
39typedef struct
40{
41 unsigned char major;
42 unsigned char minor;
43 unsigned char revision;
45
50 const rtosc_version v2);
51
54
61 char* _12bytes);
62
63#ifdef __cplusplus
64};
65#endif
66
67#endif
68
unsigned v[N_MAX]
Definition inflate.c:1584
static void v2(register WDL_FFT_REAL *a)
Definition fft.c:1099
int rtosc_version_cmp(const rtosc_version v1, const rtosc_version v2)
memcmp-like version compare
rtosc_version rtosc_current_version()
Return the version RT OSC has been compiled with.
void rtosc_version_print_to_12byte_str(const rtosc_version *v, char *_12bytes)
Print the version pointed to by v to the buffer _12bytes.
struct containing an rtosc version
Definition rtosc-version.h:40
unsigned char major
Definition rtosc-version.h:41
unsigned char revision
Definition rtosc-version.h:43
unsigned char minor
Definition rtosc-version.h:42