pmt: improve PureTuple class and improve function manager.

This commit is contained in:
2025-09-23 14:13:36 +03:00
parent b60c5c023f
commit 0ff94cc4b9
6 changed files with 115 additions and 120 deletions

View File

@@ -214,6 +214,7 @@ public:
};
Data *tuple_data = nullptr;
Data tuple_data_type = { _Type1{}, _Type2{}, _Type3{}};
size_t capacity{}, count{};
PureTuple() : tuple_data(new Data[20]), capacity(20), count(0) {}
@@ -856,7 +857,7 @@ std::string getLibVersion();
#define MKVERSION(name) \
char vinfo[512]; \
sprintf(vinfo, \
"%s 1.2.0\nBuildType: Release\nCompiler: clang\n" \
"%s 1.3.0\nCompiler: clang\n" \
"BuildFlags: -Wall;-Werror;-Wno-deprecated-declarations;-Os", \
name); \
return std::string(vinfo)