diff options
author | Nick Brassel <[email protected]> | 2023-11-28 16:39:48 +1100 |
---|---|---|
committer | Nick Brassel <[email protected]> | 2023-11-28 16:40:47 +1100 |
commit | 0115951de12bd4c798a43a380651c34552552e85 (patch) | |
tree | 62999011ae782d93aa6dc9c889615db2a840cafc /users/mtei/layer_number_util.h | |
parent | 0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff) | |
parent | 4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff) | |
download | qmk_firmware-0.23.0.tar.gz qmk_firmware-0.23.0.zip |
`develop` -> `master`, 2023q4 edition0.23.0
Diffstat (limited to 'users/mtei/layer_number_util.h')
-rw-r--r-- | users/mtei/layer_number_util.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/users/mtei/layer_number_util.h b/users/mtei/layer_number_util.h deleted file mode 100644 index 2147b9db05..0000000000 --- a/users/mtei/layer_number_util.h +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) 2022 Takeshi Ishii (mtei@github) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#include "cpp_map.h" - -//build -> _<sym>, -#define _BUILD_LAYER_ENUM_NUMBER(sym, str) _ ## sym, -#define BUILD_LAYER_ENUM_NUMBER(ent) _BUILD_LAYER_ENUM_NUMBER ent - -//build -> static const char <sym>_name[] PROGMEM = str; -#define _BUILD_LAYER_NAME_STR(sym, str) static const char sym ## _name[] PROGMEM = str; -#define BUILD_LAYER_NAME_STR(ent) _BUILD_LAYER_NAME_STR ent - -//build -> [_<sym>] = <sym>_name, -#define _BUILD_LAYER_NAME_TABLE(sym, str) [_##sym] = sym ## _name, -#define BUILD_LAYER_NAME_TABLE(ent) _BUILD_LAYER_NAME_TABLE ent |