Extend Periphery code
This commit is contained in:
@@ -150,6 +150,10 @@ namespace JabyEngine {
|
||||
return *reinterpret_cast<S*>(&value);
|
||||
}
|
||||
}
|
||||
|
||||
static constexpr uint32_t operator<<(uint32_t value, const Bit& bit) {
|
||||
return value << bit.pos;
|
||||
}
|
||||
}
|
||||
|
||||
#define __start_end_bit2_start_length(start_bit, end_bit) start_bit, (end_bit - start_bit + 1)
|
Reference in New Issue
Block a user