project structure changed for clion

This commit is contained in:
2022-05-08 13:59:28 +03:00
parent 703bd4bef4
commit c6c70c6fcc
46 changed files with 92 additions and 29 deletions

View File

@@ -0,0 +1,27 @@
#pragma once
#if __cplusplus
extern "C" {
#endif
#include "../base/base.h"
#include "../Autoarr/Autoarr.h"
typedef struct KVPair{
char* key;
Unitype value;
} KVPair;
declare_Autoarr(KVPair)
// proper way to clear a KVP
void KVPair_free(KVPair p);
// func to clear KVP array
void Autoarr_free_KVPair(Autoarr_KVPair* ar);
void printkvp(KVPair p);
#if __cplusplus
}
#endif