summaryrefslogtreecommitdiff
path: root/users/mtei/layer_number_util.h
diff options
context:
space:
mode:
authorvin <git@vineetk.net>2023-10-15 19:46:33 -0400
committervin <git@vineetk.net>2023-10-15 19:46:33 -0400
commit7ed78a843d4a90ae8adc69bf3c3dbf573a379f75 (patch)
tree420f8e7829b46bf43b5dbafc46f0a72f644e9588 /users/mtei/layer_number_util.h
parent392a85e1f6fefd549cd52945ab1447a2d6901484 (diff)
remove userspace declarations
Diffstat (limited to 'users/mtei/layer_number_util.h')
-rw-r--r--users/mtei/layer_number_util.h17
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