mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-11 23:39:07 +00:00
Missed a header
Former-commit-id: 08e0d97ba372e3c17a2ed8a87036aac3c08d3772
This commit is contained in:
parent
8d0b032e01
commit
67fff47df5
9
include/Kyoto/Streams/StreamSupport.hpp
Normal file
9
include/Kyoto/Streams/StreamSupport.hpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef _STREAMSUPPORT
|
||||||
|
#define _STREAMSUPPORT
|
||||||
|
#include <types.h>
|
||||||
|
|
||||||
|
static inline uint min_containing_bytes(uint bits) {
|
||||||
|
return (bits / 8) + ((bits % 8) != 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // _STREAMSUPPORT
|
Loading…
x
Reference in New Issue
Block a user