mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-14 02:21:49 +01:00
21 lines
237 B
C
21 lines
237 B
C
#pragma once
|
|
#include <wut.h>
|
|
|
|
/**
|
|
* \defgroup whb_align Align
|
|
* \ingroup whb
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define WHBAlignUp(val, align) ((val + align - 1) & ~(align - 1))
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|