Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
void initThreadVars(struct Thread_tag *thread);
57
58
static inline size_t alignTo(const size_t base, const size_t align) {
59
return (base + (align - 1)) & ~(align - 1);
60
}
Callers
2
threadCreate
Function · 0.85
__system_initSyscalls
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected