gwion-util
utilities for the Gwion project
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs
gwcommon.h File Reference
#include <stddef.h>
#include <stdlib.h>
#include <inttypes.h>
#include <float.h>

Go to the source code of this file.

Data Structures

struct  m_vec3
 
struct  m_vec4
 

Macros

#define GWION_EPSILON   FLT_EPSILON
 
#define SZ_INT   sizeof(m_uint)
 
#define SZ_FLOAT   sizeof(m_float)
 
#define INT_F   "ti"
 
#define UINT_F   "tu"
 
#define abs   labs
 

Typedefs

typedef intptr_t m_int
 
typedef uintptr_t m_uint
 
typedef unsigned char m_bit
 
typedef float m_float
 
typedef char * m_str
 
typedef _Complex float m_complex
 

Macro Definition Documentation

◆ abs

#define abs   labs

Definition at line 23 of file gwcommon.h.

◆ GWION_EPSILON

#define GWION_EPSILON   FLT_EPSILON

Definition at line 8 of file gwcommon.h.

◆ INT_F

#define INT_F   "ti"

Definition at line 21 of file gwcommon.h.

◆ SZ_FLOAT

#define SZ_FLOAT   sizeof(m_float)

Definition at line 19 of file gwcommon.h.

◆ SZ_INT

#define SZ_INT   sizeof(m_uint)

Definition at line 18 of file gwcommon.h.

◆ UINT_F

#define UINT_F   "tu"

Definition at line 22 of file gwcommon.h.

Typedef Documentation

◆ m_bit

typedef unsigned char m_bit

Definition at line 12 of file gwcommon.h.

◆ m_complex

typedef _Complex float m_complex

Definition at line 17 of file gwcommon.h.

◆ m_float

typedef float m_float

Definition at line 13 of file gwcommon.h.

◆ m_int

typedef intptr_t m_int

Definition at line 10 of file gwcommon.h.

◆ m_str

typedef char* m_str

Definition at line 14 of file gwcommon.h.

◆ m_uint

typedef uintptr_t m_uint

Definition at line 11 of file gwcommon.h.