mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
18 lines
237 B
C
18 lines
237 B
C
#ifndef OS_UTIL_H
|
|
#define OS_UTIL_H
|
|
|
|
#include "types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define OSRoundUp32B(x) (((u32)(x) + 0x1F) & ~(0x1F))
|
|
#define OSRoundDown32B(x) (((u32)(x)) & ~(0x1F))
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif |