MCPcopy Create free account
hub / github.com/bwapi/bwapi / from

Method from

bwapi/Util/Source/Util/MemoryFrame.h:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126 template<typename T>
127 static MemoryFrame from(T &structure)
128 {
129 return MemoryFrame((void*)&structure, sizeof(T));
130 }
131
132 private:
133 void *frameBase;

Callers

nothing calls this directly

Calls 1

MemoryFrameClass · 0.85

Tested by

no test coverage detected