move list var macros to the others
This commit is contained in:
parent
2e36a703be
commit
559e0a27ca
1 changed files with 4 additions and 4 deletions
|
@ -55,6 +55,10 @@
|
||||||
#define VAR_COLOUR(section, name) COLOUR name;
|
#define VAR_COLOUR(section, name) COLOUR name;
|
||||||
#define VAR_COLOUR_D(section, name, default) COLOUR name = default;
|
#define VAR_COLOUR_D(section, name, default) COLOUR name = default;
|
||||||
|
|
||||||
|
#define VAR_LIST(section, name, type) std::vector<type> name;
|
||||||
|
#define VAR_LIST_SEP(section, name, type, sep) std::vector<type> name;
|
||||||
|
#define VAR_LIST_NUMBERED(section, name, type) std::vector<type> name;
|
||||||
|
|
||||||
#define ENUM_TO_STRING_CASE(name, e) case name::e: os << #e;
|
#define ENUM_TO_STRING_CASE(name, e) case name::e: os << #e;
|
||||||
#define ENUM_FROM_STRING(name, e) if (input == #e) en = name::e;
|
#define ENUM_FROM_STRING(name, e) if (input == #e) en = name::e;
|
||||||
|
|
||||||
|
@ -109,10 +113,6 @@
|
||||||
#define VAR_STRUCT(section, name, struct_type) struct_type name;
|
#define VAR_STRUCT(section, name, struct_type) struct_type name;
|
||||||
#define VAR_STRUCT_D(section, name, struct_type, default) struct_type name = default;
|
#define VAR_STRUCT_D(section, name, struct_type, default) struct_type name = default;
|
||||||
|
|
||||||
#define VAR_LIST(section, name, type) std::vector<type> name;
|
|
||||||
#define VAR_LIST_SEP(section, name, type, sep) std::vector<type> name;
|
|
||||||
#define VAR_LIST_NUMBERED(section, name, type) std::vector<type> name;
|
|
||||||
|
|
||||||
#include <config_def.hpp>
|
#include <config_def.hpp>
|
||||||
|
|
||||||
#undef FE_0
|
#undef FE_0
|
||||||
|
|
Loading…
Reference in a new issue