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
13extern "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;
24
25#ifdef __cplusplus
26}
27#endif
struct mxlRational_t mxlRational
int64_t numerator
Definition rational.h:21
int64_t denominator
Definition rational.h:22