diff --git a/generator/static_files/core/utils/type_helper.yaml b/generator/static_files/core/utils/type_helper.yaml index 11a24a3..2bbb380 100755 --- a/generator/static_files/core/utils/type_helper.yaml +++ b/generator/static_files/core/utils/type_helper.yaml @@ -43,6 +43,46 @@ implementations: } return r; } + template <> + std::string type_name() { + return "uint8_t"; + } + template <> + std::string type_name() { + return "uint16_t"; + } + template <> + std::string type_name() { + return "uint32_t"; + } + template <> + std::string type_name() { + return "uint64_t"; + } + template <> + std::string type_name() { + return "int8_t"; + } + template <> + std::string type_name() { + return "int16_t"; + } + template <> + std::string type_name() { + return "int32_t"; + } + template <> + std::string type_name() { + return "int64_t"; + } + template <> + std::string type_name() { + return "float"; + } + template <> + std::string type_name() { + return "double"; + } #define TYPENAME(x) type_name() - |