SenseApiDesc: use CPP concat to reduce typos

This commit is contained in:
2025-01-18 08:40:41 -04:00
parent 76141e3a92
commit 1450d745ab
5 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -121,8 +121,10 @@ public:
#define HK_GET_SENSE_API_DESC_FN_NAME getSenseApiDesc
#define HK_GET_SENSE_API_DESC_FN_NAME_STR \
HK_QUOTE(HK_GET_SENSE_API_DESC_FN_NAME)
#define HK_GET_SENSE_API_DESC_FN_TYPEDEF \
HK_CONCAT(HK_GET_SENSE_API_DESC_FN_NAME, Fn)
typedef const SenseApiDesc &(getSenseApiDescFn)(void);
typedef const SenseApiDesc &(HK_GET_SENSE_API_DESC_FN_TYPEDEF)(void);
} // namespace sense_api
} // namespace hk