libwasm ~master (2024-01-10T15:05:21Z)
Dub
Repo
roundUpToAlignment
libwasm
rt
allocator
Returns
n
rounded up to a multiple of alignment, which must be a power of 2.
nothrow @
safe
@
nogc
nothrow pure
size_t
roundUpToAlignment
()
(
size_t
n
,
uint
alignment
)
Meta
Source
See Implementation
libwasm
rt
allocator
functions
FL_allocate
FL_deallocate
FL_reallocate
_d_allocmemory
alignedAt
allocString
fmax
isPowerOf2
max
roundUpToAlignment
structs
PoolStackAllocator
ThreadMemAllocator
WasmAllocator
variables
platformAlignment
Returns n rounded up to a multiple of alignment, which must be a power of 2.