Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetOffset
Method
GetOffset
engine/ddf/src/ddf/ddf_loadcontext.cpp:94–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
}
93
94
uint32_t LoadContext::GetOffset(void* memory)
95
{
96
return ((uintptr_t) memory) - m_Start;
97
}
98
99
void* LoadContext::GetPointer(uint32_t offset)
100
{
Callers
3
SetString
Method · 0.80
AddString
Method · 0.80
SetBytes
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected