Updated to not have headers in source directories
This commit is contained in:
parent
0c435ed040
commit
91bb0a7533
33 changed files with 3668 additions and 4101 deletions
|
|
@ -1,26 +0,0 @@
|
|||
#ifndef LENGTH_H
|
||||
#define LENGTH_H
|
||||
|
||||
#include "./api.h"
|
||||
#include "me/types.h"
|
||||
|
||||
struct Length
|
||||
{
|
||||
t_u32 bytes;
|
||||
TSPoint extent;
|
||||
};
|
||||
|
||||
typedef struct Length Length;
|
||||
|
||||
static const Length LENGTH_UNDEFINED = {0, {0, 1}};
|
||||
static const Length LENGTH_MAX = {UINT32_MAX, {UINT32_MAX, UINT32_MAX}};
|
||||
|
||||
Length length_saturating_sub(Length len1, Length len2);
|
||||
Length length_zero(void);
|
||||
Length length_sub(Length len1, Length len2);
|
||||
Length length_add(Length len1, Length len2);
|
||||
Length length_min(Length len1, Length len2);
|
||||
Length length_max(Length len1, Length len2);
|
||||
bool length_is_undefined(Length length);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue