registred all types
This commit is contained in:
@@ -8,7 +8,8 @@ STNode* STNode_create(){
|
||||
return node;
|
||||
}
|
||||
|
||||
void STNode_free(STNode* node){
|
||||
void __STNode_free(void* _node){
|
||||
STNode* node=_node;
|
||||
if (!node) throw(ERR_NULLPTR);
|
||||
if(node->branches){
|
||||
for(uint8 n32 = 0;n32<8;n32++){
|
||||
@@ -34,6 +35,10 @@ void STNode_free(STNode* node){
|
||||
Unitype_free(node->value);
|
||||
free(node);
|
||||
}
|
||||
void STNode_free(STNode* node){
|
||||
__STNode_free(node);
|
||||
free(node);
|
||||
}
|
||||
|
||||
typedef struct {uint8 n32, n4, rem;} indexes3;
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ kerepType_declare(STNodePtr);
|
||||
|
||||
STNode* STNode_create();
|
||||
void STNode_free(STNode* node);
|
||||
void __STNode_free(void* node);
|
||||
|
||||
void ST_push(STNode* node, char* key, Unitype value);
|
||||
void ST_pushString(STNode* node, string key, Unitype value);
|
||||
|
||||
Reference in New Issue
Block a user