Files
bluelib/ds/number.h

30 lines
454 B
C
Raw Normal View History

2024-10-24 19:24:54 +01:00
#ifndef _BLUELIB_NUMBER_H_
#define _BLUELIB_NUMBER_H_
#include "object.h"
#include <blue/ds/number.h>
2024-10-24 19:24:54 +01:00
struct b_number {
struct b_dsref n_base;
2024-10-24 19:24:54 +01:00
b_number_type n_type;
union {
int8_t v_int8;
int16_t v_int16;
int32_t v_int32;
int64_t v_int64;
float v_float32;
double v_float64;
char v_char;
short v_short;
int v_int;
long v_long;
long long v_longlong;
float v_float;
double v_double;
size_t v_size_t;
} n_value;
};
#endif