MCPcopy Create free account
hub / github.com/devkitPro/libctru / alignTo

Function alignTo

libctru/source/internal.h:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56void initThreadVars(struct Thread_tag *thread);
57
58static inline size_t alignTo(const size_t base, const size_t align) {
59 return (base + (align - 1)) & ~(align - 1);
60}

Callers 2

threadCreateFunction · 0.85
__system_initSyscallsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected