diff --git a/src/types.hh b/src/types.hh index c459beb..5fb8d11 100644 --- a/src/types.hh +++ b/src/types.hh @@ -6,21 +6,23 @@ #include "daisysp.h" namespace Heck { - - // fundamental types - using u8 = uint8_t; - using u16 = uint16_t; - using u32 = uint32_t; - using u64 = uint64_t; - - using i8 = int8_t; - using i16 = int16_t; - using i32 = int32_t; - using i64 = int64_t; - - using f32 = float; - using f64 = double; - + namespace Types { + // fundamental types + using u8 = uint8_t; + using u16 = uint16_t; + using u32 = uint32_t; + using u64 = uint64_t; + + using i8 = int8_t; + using i16 = int16_t; + using i32 = int32_t; + using i64 = int64_t; + + using f32 = float; + using f64 = double; + } + + using namespace Types; // namespace aliases namespace ld = daisy; namespace dsp = daisysp;