MCPcopy 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

SetStringMethod · 0.80
AddStringMethod · 0.80
SetBytesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected