This commit is contained in:
2022-02-07 23:33:56 +03:00
parent a6f83bab34
commit 6a1eae90d9
12 changed files with 133 additions and 112 deletions

View File

@@ -2,24 +2,6 @@
#include "../base/base.h"
// can store any base type
typedef struct UniversalType{
base_type type;
union {
int8 Int8;
uint8 UInt8;
int16 Int16;
uint16 UInt16;
int32 Int32;
uint32 UInt32;
int64 Int64;
uint64 UInt64;
float Float;
double Double;
void* VoidPtr;
};
} Unitype;
typedef struct SearchTreeNode{
struct SearchTreeNode**** branches; //*STNode[8][8][4]
Unitype value;