mirror of
https://github.com/hyprwm/Hyprland
synced 2026-01-03 18:10:11 +01:00
12 lines
840 B
C++
12 lines
840 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <functional>
|
|
|
|
inline std::vector<std::function<bool()>> testFns;
|
|
|
|
#define REGISTER_TEST_FN(fn) \
|
|
static auto _register_fn = [] { \
|
|
testFns.emplace_back(fn); \
|
|
return 1; \
|
|
}();
|