MCPcopy Create free account
hub / github.com/defold/defold / MakeHandle

Function MakeHandle

engine/dlib/src/dlib/jobsystem.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95// MISC
96
97static inline uint64_t MakeHandle(uint32_t generation, uint32_t index)
98{
99 uint64_t handle = ((uint64_t)generation << 32) | index;
100 return handle;
101}
102
103static inline uint32_t ToGeneration(HJob job)
104{

Callers 1

JobSystemCreateJobFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected