mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-09 14:19:06 +00:00
Missed a header
This commit is contained in:
parent
1c956d06f2
commit
08e0d97ba3
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