meta: rename legacy object module to 'ds'
This commit is contained in:
29
ds/number.h
Normal file
29
ds/number.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef _BLUELIB_NUMBER_H_
|
||||
#define _BLUELIB_NUMBER_H_
|
||||
|
||||
#include "object.h"
|
||||
|
||||
#include <blue/ds/number.h>
|
||||
|
||||
struct b_number {
|
||||
struct b_dsref n_base;
|
||||
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
|
||||
Reference in New Issue
Block a user