build_dll

This commit is contained in:
2022-03-21 23:20:24 +03:00
parent 20ce758528
commit 5bc866cf3e
7 changed files with 84 additions and 24 deletions

View File

@@ -1,11 +1,20 @@
#include "../base/base.h"
#include "tests.h"
#include "../Hashtable/KeyValuePair.h"
KeyValuePair test_marshalling(char* text){
//printf("<%s>\n", text);
Unitype u={.VoidPtr=text,.type=CharPtr};
KeyValuePair msg={"message",u};
return msg;
}
void test_all(){
/* test_searchtree();
test_searchtree();
test_autoarr();
test_hashtable();
test_string(); */
test_string();
test_dtsod();
printf("\e[96m---------------------------------------\e[0m\n");
}

13
tests/test_marshalling.h Normal file
View File

@@ -0,0 +1,13 @@
#pragma once
#if __cplusplus
extern "C" {
#endif
#include "../Hashtable/KeyValuePair.h"
KeyValuePair test_marshalling(char* text);
#if __cplusplus
}
#endif

View File

@@ -8,4 +8,4 @@ void test_searchtree();
void test_autoarr();
void test_hashtable();
void test_string();
void test_dtsod();
void test_dtsod();