22 lines
386 B
C++
22 lines
386 B
C++
#define ZLIB_API
|
|
#define ZLIB_API_VAL
|
|
#include "refl/pch.h"
|
|
#include <iostream>
|
|
using namespace refl;
|
|
namespace api {
|
|
struct api_t {
|
|
|
|
};
|
|
}
|
|
struct test {
|
|
|
|
};
|
|
void (*testfn)(test);
|
|
using testfn_t = decltype(testfn);
|
|
int main() {
|
|
auto r1 = type_name<testfn_t>();
|
|
auto r2 = type_name<api::api_t>();
|
|
auto t1 = r1.View();
|
|
auto t2 = r2.View();
|
|
std::cout << "hello world" << std::endl;
|
|
} |