libmatrix
Data Structures | Typedefs | Functions
oxidation.h File Reference

Type aliases and wrapped result type. More...

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Data Structures

struct  Result
 

Typedefs

typedef int8_t i8
 
typedef int16_t i16
 
typedef int32_t i32
 
typedef int64_t i64
 
typedef uint8_t u8
 
typedef uint16_t u16
 
typedef uint32_t u32
 
typedef uint64_t u64
 
typedef float f32
 
typedef double f64
 
typedef long double f128
 
typedef char * str
 

Functions

Result Ok (void *val)
 
Result Err (char *err)
 
bool is_err (Result res)
 
bool is_ok (Result res)
 

Detailed Description

Type aliases and wrapped result type.

Author
Jacob Lin (hi@ja.nosp@m.cobl.nosp@m.in.co.nosp@m.ol)
Date
2022-10-08