breaking changes in type system
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
#include "SearchTree.h"
|
||||
|
||||
ktid_define(STNode);
|
||||
kt_define(STNode, __STNode_free, NULL);
|
||||
|
||||
STNode* STNode_create(){
|
||||
STNode* node=malloc(sizeof(STNode));
|
||||
node->branches=NULL;
|
||||
node->value.typeId=ktid_Null;
|
||||
node->value.UInt64=0;
|
||||
node->value=UniNull;
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,10 @@ extern "C" {
|
||||
#include "../base/base.h"
|
||||
#include "../String/string.h"
|
||||
|
||||
typedef struct SearchTreeNode{
|
||||
struct SearchTreeNode**** branches; // *STNode[8][8][4]
|
||||
STRUCT(STNode,
|
||||
struct STNode**** branches; // *STNode[8][8][4]
|
||||
Unitype value;
|
||||
} STNode;
|
||||
ktid_declare(STNode);
|
||||
)
|
||||
|
||||
STNode* STNode_create();
|
||||
void STNode_free(STNode* node);
|
||||
|
||||
Reference in New Issue
Block a user