MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
rational.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Contributors to the Media eXchange Layer project.
2
// SPDX-License-Identifier: Apache-2.0
3
4
#pragma once
5
6
#ifdef __cplusplus
7
# include <cstdint>
8
#else
9
# include <stdint.h>
10
#endif
11
12
#ifdef __cplusplus
13
extern
"C"
14
{
15
#endif
16
17
#define MXL_UNDEFINED_INDEX UINT64_MAX
18
19
typedef
struct
mxlRational_t
20
{
21
int64_t
numerator
;
22
int64_t
denominator
;
23
}
mxlRational
;
24
25
#ifdef __cplusplus
26
}
27
#endif
mxlRational
struct mxlRational_t mxlRational
mxlRational_t
Definition
rational.h:20
mxlRational_t::numerator
int64_t numerator
Definition
rational.h:21
mxlRational_t::denominator
int64_t denominator
Definition
rational.h:22
lib
include
mxl
rational.h
Generated by
1.15.0