zengine/game/zworld/editor/zworld_editor.cpp
2024-10-27 22:37:35 +08:00

20 lines
450 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 aguid = meta_name<T>();
auto bguid = aguid.view();
std::cout << bguid << std::endl;
}
int main() {
print_name<api::Guid>();
print_name<decltype(&api::Guid::Multy)>();
std::cout << "hello world" << std::endl;
}