zengine/game/zworld/editor/zworld_editor.cpp
2024-10-30 15:15:25 +08:00

23 lines
564 B
C++

#define ZLIB_API
#define ZLIB_API_VAL
#define CORE_API
#define CORE_API_VAL
#include "archive/json.h"
#include "test_refl.h"
using namespace api;
using namespace std;
using namespace refl;
template<typename T>
void print_name() {
auto sf = refl::TStr{ "S" };
auto sf2 = refl::TStr{ "void" };
auto aguid = meta_name<T>();
auto bguid = aguid.view();
std::cout << bguid << std::endl;
}
int main() {
constexpr auto aa = refl::detail::num_name<32>();
print_name<float[4]>();
print_name<decltype(&api::Guid::Multy)>();
std::cout << "hello world" << std::endl;
}