10 lines
235 B
C++
10 lines
235 B
C++
#define LEAN_SYMBOLS_HEADER
|
|
#include "{{ headerPath }}"
|
|
|
|
// Thunk Template
|
|
template <auto *const *func>
|
|
decltype(auto) __thunk(auto... args) {
|
|
return (*func)->get_thunk_target()(std::forward<decltype(args)>(args)...);
|
|
}
|
|
|
|
{{ main }} |